aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/1.10.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 16:42:58 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 16:42:58 -0500
commitdda687ed2a748cb262b317e0c7fdf4a9c4ae2d31 (patch)
tree144fba235fec87d74deff110aaa71891174b3eef /test/features/1.10.exp
parent0.9.36 testing (diff)
downloadfirejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.tar.gz
firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.tar.zst
firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.zip
0.9.36 testing
Diffstat (limited to 'test/features/1.10.exp')
-rwxr-xr-xtest/features/1.10.exp32
1 files changed, 17 insertions, 15 deletions
diff --git a/test/features/1.10.exp b/test/features/1.10.exp
index 96e3c38d1..978b0a594 100755
--- a/test/features/1.10.exp
+++ b/test/features/1.10.exp
@@ -54,22 +54,24 @@ 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 /selinux\r" 64
65expect { 65 send -- "ls -l /selinux\r"
66 timeout {puts "TESTING ERROR 5\n";exit} 66 expect {
67 "Permission denied" {puts "denied\n"} 67 timeout {puts "TESTING ERROR 5\n";exit}
68 "No such file or directory" {puts "no file\n"} 68 "Permission denied" {puts "denied\n"}
69 "No such file or directory" {puts "no file\n"}
70 }
71 after 100
72 send -- "exit\r"
73 sleep 1
69} 74}
70after 100
71send -- "exit\r"
72sleep 1
73 75
74 76
75puts "\nall done\n" 77puts "\nall done\n"