diff options
author | startx2017 <vradu.startx@yandex.com> | 2018-10-09 08:35:25 -0400 |
---|---|---|
committer | startx2017 <vradu.startx@yandex.com> | 2018-10-09 08:35:25 -0400 |
commit | 572d8af48b0618e5cdbed95a5adcc6d01a69a499 (patch) | |
tree | df79b3053e71ef3fa888838347767fbf07f98ef6 | |
parent | mainline merge: AppArmor: Allow writing to removable media (diff) | |
download | firejail-572d8af48b0618e5cdbed95a5adcc6d01a69a499.tar.gz firejail-572d8af48b0618e5cdbed95a5adcc6d01a69a499.tar.zst firejail-572d8af48b0618e5cdbed95a5adcc6d01a69a499.zip |
mainline merge: tests: skip audit.exp if tests are already running in a pid namespace
-rw-r--r-- | status | 5 | ||||
-rwxr-xr-x | test/utils/shutdown.exp | 8 |
2 files changed, 6 insertions, 7 deletions
@@ -3,10 +3,9 @@ done: regression: fix whitelisting of symlinks to other home dirs, small improve | |||
3 | done: tiny memleaks | 3 | done: tiny memleaks |
4 | done: incomplete fix: whitelisting of symlinks to other home dirs | 4 | done: incomplete fix: whitelisting of symlinks to other home dirs |
5 | done: mount empty home if macro can't be whitelisted | 5 | done: mount empty home if macro can't be whitelisted |
6 | done: AppArmor: Allow writing to removable media | ||
7 | done: tests: skip audit.exp if tests are already running in a pid namespace | ||
6 | 8 | ||
7 | todo: tests: skip audit.exp if tests are already running in a pid namespace (renerh) | ||
8 | |||
9 | todo: AppArmor: Allow writing to removable media | ||
10 | 9 | ||
11 | todo: configure.ac: set sysconfdir only if none was specified manually | 10 | todo: configure.ac: set sysconfdir only if none was specified manually |
12 | 11 | ||
diff --git a/test/utils/shutdown.exp b/test/utils/shutdown.exp index 1d4dc9ae4..15a74f8c8 100755 --- a/test/utils/shutdown.exp +++ b/test/utils/shutdown.exp | |||
@@ -20,7 +20,7 @@ send -- "stty -echo\r" | |||
20 | after 100 | 20 | after 100 |
21 | send -- "firejail --shutdown=shutdowntesting; echo done\r" | 21 | send -- "firejail --shutdown=shutdowntesting; echo done\r" |
22 | expect { | 22 | expect { |
23 | timeout {puts "TESTING ERROR 4\n";exit} | 23 | timeout {puts "TESTING ERROR 1\n";exit} |
24 | "done" | 24 | "done" |
25 | } | 25 | } |
26 | sleep 5 | 26 | sleep 5 |
@@ -28,15 +28,15 @@ sleep 5 | |||
28 | spawn $env(SHELL) | 28 | spawn $env(SHELL) |
29 | send -- "firejail --list;echo done\r" | 29 | send -- "firejail --list;echo done\r" |
30 | expect { | 30 | expect { |
31 | timeout {puts "TESTING ERROR 5\n";exit} | 31 | timeout {puts "TESTING ERROR 2\n";exit} |
32 | "shutdowntesting" {puts "TESTING ERROR 6\n";exit} | 32 | "shutdowntesting" {puts "TESTING ERROR 3\n";exit} |
33 | "done" | 33 | "done" |
34 | } | 34 | } |
35 | sleep 1 | 35 | sleep 1 |
36 | 36 | ||
37 | send -- "firejail --shutdown=sutdowntesting\r" | 37 | send -- "firejail --shutdown=sutdowntesting\r" |
38 | expect { | 38 | expect { |
39 | timeout {puts "TESTING ERROR 5\n";exit} | 39 | timeout {puts "TESTING ERROR 4\n";exit} |
40 | "cannot find sandbox sutdowntesting" | 40 | "cannot find sandbox sutdowntesting" |
41 | } | 41 | } |
42 | after 100 | 42 | after 100 |