aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/1.6.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/features/1.6.exp')
-rwxr-xr-xtest/features/1.6.exp30
1 files changed, 16 insertions, 14 deletions
diff --git a/test/features/1.6.exp b/test/features/1.6.exp
index 8ed20fa46..4e3b2e74c 100755
--- a/test/features/1.6.exp
+++ b/test/features/1.6.exp
@@ -52,21 +52,23 @@ if { $overlay == "overlay" } {
52# 52#
53# C 53# C
54# 54#
55send -- "firejail --noprofile --chroot=/tmp/chroot\r" 55if { $chroot == "chroot" } {
56expect { 56 send -- "firejail --noprofile --chroot=/tmp/chroot\r"
57 timeout {puts "TESTING ERROR 4\n";exit} 57 expect {
58 "Child process initialized" 58 timeout {puts "TESTING ERROR 4\n";exit}
59} 59 "Child process initialized"
60sleep 1 60 }
61 61 sleep 1
62send -- "ls -l /var/log/syslog | wc -l\r" 62
63expect { 63 send -- "ls -l /var/log/syslog | wc -l\r"
64 timeout {puts "TESTING ERROR 5\n";exit} 64 expect {
65 "0" 65 timeout {puts "TESTING ERROR 5\n";exit}
66 "0"
67 }
68 after 100
69 send -- "exit\r"
70 sleep 1
66} 71}
67after 100
68send -- "exit\r"
69sleep 1
70 72
71 73
72puts "\nall done\n" 74puts "\nall done\n"