diff options
author | netblue30 <netblue30@yahoo.com> | 2017-03-31 11:05:05 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-03-31 11:05:05 -0400 |
commit | 0386d562f44ebf612980c7d779336e967973f9c5 (patch) | |
tree | 00f3aa219495c984b6468c5af3723220401abd8b /test/stress/stress.sh | |
parent | restrict more KDE files (#1181) (diff) | |
download | firejail-0386d562f44ebf612980c7d779336e967973f9c5.tar.gz firejail-0386d562f44ebf612980c7d779336e967973f9c5.tar.zst firejail-0386d562f44ebf612980c7d779336e967973f9c5.zip |
testing
Diffstat (limited to 'test/stress/stress.sh')
-rwxr-xr-x | test/stress/stress.sh | 4 |
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 | |||
15 | rm env.profile | 15 | rm env.profile |
16 | for i in `seq 1 100`; | 16 | for i in `seq 1 100`; |
17 | do | 17 | do |
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 |
23 | done | 24 | done |
24 | echo "include blacklist.profile" >> noblacklist.profile | 25 | echo "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 | ||
32 | rm -fr ~/fj-stress-test | 33 | rm -fr ~/fj-stress-test |
34 | |||
33 | rm blacklist.profile | 35 | rm blacklist.profile |
34 | rm noblacklist.profile | 36 | rm noblacklist.profile |
35 | rm env.profile | 37 | rm env.profile |