diff options
Diffstat (limited to 'test/features/3.9.exp')
-rwxr-xr-x | test/features/3.9.exp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/features/3.9.exp b/test/features/3.9.exp index 1dc556d78..a1797804f 100755 --- a/test/features/3.9.exp +++ b/test/features/3.9.exp | |||
@@ -12,7 +12,7 @@ set chroot [lindex $argv 1] | |||
12 | # | 12 | # |
13 | # N | 13 | # N |
14 | # | 14 | # |
15 | send -- "firejail --noprofile --whitelist=/dev/tty --whitelist=/dev/shm --whitelist=/dev/null\r" | 15 | send -- "firejail --noprofile --whitelist=/dev/tty --whitelist=/dev/null\r" |
16 | expect { | 16 | expect { |
17 | timeout {puts "TESTING ERROR 0\n";exit} | 17 | timeout {puts "TESTING ERROR 0\n";exit} |
18 | "Child process initialized" | 18 | "Child process initialized" |
@@ -22,7 +22,7 @@ sleep 1 | |||
22 | send -- "ls -l /dev | wc -l\r" | 22 | send -- "ls -l /dev | wc -l\r" |
23 | expect { | 23 | expect { |
24 | timeout {puts "TESTING ERROR 1.1\n";exit} | 24 | timeout {puts "TESTING ERROR 1.1\n";exit} |
25 | "4" | 25 | "3" |
26 | } | 26 | } |
27 | 27 | ||
28 | 28 | ||
@@ -35,7 +35,7 @@ sleep 1 | |||
35 | # O | 35 | # O |
36 | # | 36 | # |
37 | if { $overlay == "overlay" } { | 37 | if { $overlay == "overlay" } { |
38 | send -- "firejail --noprofile --overlay --whitelist=/dev/tty --whitelist=/dev/shm --whitelist=/dev/null\r" | 38 | send -- "firejail --noprofile --overlay --whitelist=/dev/tty --whitelist=/dev/null\r" |
39 | expect { | 39 | expect { |
40 | timeout {puts "TESTING ERROR 2\n";exit} | 40 | timeout {puts "TESTING ERROR 2\n";exit} |
41 | "Child process initialized" | 41 | "Child process initialized" |
@@ -45,7 +45,7 @@ if { $overlay == "overlay" } { | |||
45 | send -- "ls -l /dev | wc -l\r" | 45 | send -- "ls -l /dev | wc -l\r" |
46 | expect { | 46 | expect { |
47 | timeout {puts "TESTING ERROR 3.1\n";exit} | 47 | timeout {puts "TESTING ERROR 3.1\n";exit} |
48 | "4" | 48 | "3" |
49 | } | 49 | } |
50 | 50 | ||
51 | 51 | ||
@@ -58,7 +58,7 @@ if { $overlay == "overlay" } { | |||
58 | # C | 58 | # C |
59 | # | 59 | # |
60 | if { $chroot == "chroot" } { | 60 | if { $chroot == "chroot" } { |
61 | send -- "firejail --noprofile --chroot=/tmp/chroot --whitelist=/dev/tty --whitelist=/dev/shm --whitelist=/dev/null\r" | 61 | send -- "firejail --noprofile --chroot=/tmp/chroot --whitelist=/dev/tty --whitelist=/dev/null\r" |
62 | expect { | 62 | expect { |
63 | timeout {puts "TESTING ERROR 4\n";exit} | 63 | timeout {puts "TESTING ERROR 4\n";exit} |
64 | "Child process initialized" | 64 | "Child process initialized" |
@@ -68,7 +68,7 @@ if { $chroot == "chroot" } { | |||
68 | send -- "ls -l /dev | wc -l\r" | 68 | send -- "ls -l /dev | wc -l\r" |
69 | expect { | 69 | expect { |
70 | timeout {puts "TESTING ERROR 5.1\n";exit} | 70 | timeout {puts "TESTING ERROR 5.1\n";exit} |
71 | "4" | 71 | "3" |
72 | } | 72 | } |
73 | 73 | ||
74 | after 100 | 74 | after 100 |