aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/1.8.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.8.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.8.exp')
-rwxr-xr-xtest/features/1.8.exp40
1 files changed, 21 insertions, 19 deletions
diff --git a/test/features/1.8.exp b/test/features/1.8.exp
index 293864671..29e23c885 100755
--- a/test/features/1.8.exp
+++ b/test/features/1.8.exp
@@ -65,26 +65,28 @@ if { $overlay == "overlay" } {
65# 65#
66# C 66# C
67# 67#
68send -- "firejail --noprofile --chroot=/tmp/chroot\r" 68if { $chroot == "chroot" } {
69expect { 69 send -- "firejail --noprofile --chroot=/tmp/chroot\r"
70 timeout {puts "TESTING ERROR 4\n";exit} 70 expect {
71 "Child process initialized" 71 timeout {puts "TESTING ERROR 4\n";exit}
72} 72 "Child process initialized"
73sleep 1 73 }
74send -- "ls /etc/firejail\r" 74 sleep 1
75expect { 75 send -- "ls /etc/firejail\r"
76 timeout {puts "TESTING ERROR 5\n";exit} 76 expect {
77 "Permission denied" 77 timeout {puts "TESTING ERROR 5\n";exit}
78} 78 "Permission denied"
79after 100 79 }
80send -- "ls ~/.config/firejail\r" 80 after 100
81expect { 81 send -- "ls ~/.config/firejail\r"
82 timeout {puts "TESTING ERROR 5.1\n";exit} 82 expect {
83 "Permission denied" 83 timeout {puts "TESTING ERROR 5.1\n";exit}
84 "Permission denied"
85 }
86 after 100
87 send -- "exit\r"
88 sleep 1
84} 89}
85after 100
86send -- "exit\r"
87sleep 1
88 90
89 91
90puts "\nall done\n" 92puts "\nall done\n"