aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/1.7.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/features/1.7.exp')
-rwxr-xr-xtest/features/1.7.exp30
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#
57send -- "firejail --noprofile --chroot=/tmp/chroot\r" 57if { $chroot == "chroot" } {
58expect { 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"
62sleep 1 62 }
63 63 sleep 1
64send -- "ls -l /var/tmp/somefile | wc -l\r" 64
65expect { 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}
69after 100
70send -- "exit\r"
71sleep 1
72 74
73 75
74puts "\nall done\n" 76puts "\nall done\n"