Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
7a31b18f
Commit
7a31b18f
authored
Oct 24, 2015
by
4ast
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #279 from iovisor/bblanco_dev
Bump ulimit for locked memory in test wrapper
parents
20dc7f2a
c48f9d9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/wrapper.sh.in
tests/wrapper.sh.in
+2
-2
No files found.
tests/wrapper.sh.in
View file @
7a31b18f
...
...
@@ -32,11 +32,11 @@ function ns_run() {
sudo
ip netns
exec
$ns
ethtool
-K
eth0 tx off
sudo
ip addr add dev
$ns
.out 172.16.1.1/24
sudo
ip
link set
$ns
.out up
sudo
bash
-c
"PYTHONPATH=
$PYTHONPATH
LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
ip netns exec
$ns
$cmd
$1
$2
"
sudo
bash
-c
"
ulimit -l 10240;
PYTHONPATH=
$PYTHONPATH
LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
ip netns exec
$ns
$cmd
$1
$2
"
return
$?
}
function
sudo_run
()
{
sudo
bash
-c
"PYTHONPATH=
$PYTHONPATH
LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
$cmd
$1
$2
"
sudo
bash
-c
"
ulimit -l 10240;
PYTHONPATH=
$PYTHONPATH
LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
$cmd
$1
$2
"
return
$?
}
function
simple_run
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment