aboutsummaryrefslogtreecommitdiffstats
path: root/test/stress
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-03-31 11:05:05 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-03-31 11:05:05 -0400
commit0386d562f44ebf612980c7d779336e967973f9c5 (patch)
tree00f3aa219495c984b6468c5af3723220401abd8b /test/stress
parentrestrict more KDE files (#1181) (diff)
downloadfirejail-0386d562f44ebf612980c7d779336e967973f9c5.tar.gz
firejail-0386d562f44ebf612980c7d779336e967973f9c5.tar.zst
firejail-0386d562f44ebf612980c7d779336e967973f9c5.zip
testing
Diffstat (limited to 'test/stress')
-rwxr-xr-xtest/stress/stress.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/stress/stress.sh b/test/stress/stress.sh
index e95d304c4..6a140ab22 100755
--- a/test/stress/stress.sh
+++ b/test/stress/stress.sh
@@ -15,10 +15,11 @@ rm noblacklist.profile
15rm env.profile 15rm env.profile
16for i in `seq 1 100`; 16for i in `seq 1 100`;
17do 17do
18 echo $i
19 echo "hello" > ~/fj-stress-test/testfile$i 18 echo "hello" > ~/fj-stress-test/testfile$i
20 echo "blacklist ~/fj-stress-test/testfile$i" >> blacklist.profile 19 echo "blacklist ~/fj-stress-test/testfile$i" >> blacklist.profile
20 echo "blacklist \${PATH}/sh" >> blacklist.profile
21 echo "noblacklist ~/fj-stress-test/testfile$i" >> noblacklist.profile 21 echo "noblacklist ~/fj-stress-test/testfile$i" >> noblacklist.profile
22 echo "noblacklist \${PATH}/sh" >> noblacklist.profile
22 echo "env FJSTRESS$i=stress" >> env.profile 23 echo "env FJSTRESS$i=stress" >> env.profile
23done 24done
24echo "include blacklist.profile" >> noblacklist.profile 25echo "include blacklist.profile" >> noblacklist.profile
@@ -30,6 +31,7 @@ echo "TESTING: stress env (/test/stress/env.exp)"
30./env.exp 31./env.exp
31 32
32rm -fr ~/fj-stress-test 33rm -fr ~/fj-stress-test
34
33rm blacklist.profile 35rm blacklist.profile
34rm noblacklist.profile 36rm noblacklist.profile
35rm env.profile 37rm env.profile