summaryrefslogtreecommitdiffstats
path: root/test/stress/stress.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-03-29 12:09:26 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-03-29 12:09:26 -0400
commitb2b603eac941d2cdea97d7886dc7181c179a8160 (patch)
treeafb0c44459b96f331e07772959bd7e983a082a05 /test/stress/stress.sh
parentmerges (diff)
downloadfirejail-b2b603eac941d2cdea97d7886dc7181c179a8160.tar.gz
firejail-b2b603eac941d2cdea97d7886dc7181c179a8160.tar.zst
firejail-b2b603eac941d2cdea97d7886dc7181c179a8160.zip
testing
Diffstat (limited to 'test/stress/stress.sh')
-rwxr-xr-xtest/stress/stress.sh31
1 files changed, 30 insertions, 1 deletions
diff --git a/test/stress/stress.sh b/test/stress/stress.sh
index 96bbaf61b..e95d304c4 100755
--- a/test/stress/stress.sh
+++ b/test/stress/stress.sh
@@ -6,6 +6,35 @@
6export MALLOC_CHECK_=3 6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) 7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8 8
9echo "TESTING: macvlan (net_macvlan.exp)" 9
10# blacklist testing
11rm -fr ~/fj-stress-test
12mkdir ~/fj-stress-test
13rm blacklist.profile
14rm noblacklist.profile
15rm env.profile
16for i in `seq 1 100`;
17do
18 echo $i
19 echo "hello" > ~/fj-stress-test/testfile$i
20 echo "blacklist ~/fj-stress-test/testfile$i" >> blacklist.profile
21 echo "noblacklist ~/fj-stress-test/testfile$i" >> noblacklist.profile
22 echo "env FJSTRESS$i=stress" >> env.profile
23done
24echo "include blacklist.profile" >> noblacklist.profile
25
26echo "TESTING: stress blacklist/noblacklist (/test/stress/blacklist.exp)"
27./blacklist.exp
28
29echo "TESTING: stress env (/test/stress/env.exp)"
30./env.exp
31
32rm -fr ~/fj-stress-test
33rm blacklist.profile
34rm noblacklist.profile
35rm env.profile
36
37# network arp testing
38echo "TESTING: macvlan (test/stress/net_macvlan.exp)"
10./net_macvlan.exp 39./net_macvlan.exp
11 40