diff options
Diffstat (limited to 'test/features/1.7.exp')
-rwxr-xr-x | test/features/1.7.exp | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/test/features/1.7.exp b/test/features/1.7.exp index 35351b7d9..5dcded422 100755 --- a/test/features/1.7.exp +++ b/test/features/1.7.exp | |||
@@ -54,21 +54,23 @@ if { $overlay == "overlay" } { | |||
54 | # | 54 | # |
55 | # C | 55 | # C |
56 | # | 56 | # |
57 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" | 57 | if { $chroot == "chroot" } { |
58 | expect { | 58 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" |
59 | timeout {puts "TESTING ERROR 4\n";exit} | 59 | expect { |
60 | "Child process initialized" | 60 | timeout {puts "TESTING ERROR 4\n";exit} |
61 | } | 61 | "Child process initialized" |
62 | sleep 1 | 62 | } |
63 | 63 | sleep 1 | |
64 | send -- "ls -l /var/tmp/somefile | wc -l\r" | 64 | |
65 | expect { | 65 | send -- "ls -l /var/tmp/somefile | wc -l\r" |
66 | timeout {puts "TESTING ERROR 5\n";exit} | 66 | expect { |
67 | "0" | 67 | timeout {puts "TESTING ERROR 5\n";exit} |
68 | "0" | ||
69 | } | ||
70 | after 100 | ||
71 | send -- "exit\r" | ||
72 | sleep 1 | ||
68 | } | 73 | } |
69 | after 100 | ||
70 | send -- "exit\r" | ||
71 | sleep 1 | ||
72 | 74 | ||
73 | 75 | ||
74 | puts "\nall done\n" | 76 | puts "\nall done\n" |