summaryrefslogtreecommitdiffstats
path: root/test/features/3.1.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/3.1.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/3.1.exp')
-rwxr-xr-xtest/features/3.1.exp34
1 files changed, 18 insertions, 16 deletions
diff --git a/test/features/3.1.exp b/test/features/3.1.exp
index 13ec1b6be..3ee04c4de 100755
--- a/test/features/3.1.exp
+++ b/test/features/3.1.exp
@@ -53,23 +53,25 @@ if { $overlay == "overlay" } {
53# 53#
54# C 54# C
55# 55#
56send -- "touch /tmp/chroot/home/netblue/.config/firejail-test-file\r" 56if { $chroot == "chroot" } {
57sleep 1 57 send -- "touch /tmp/chroot/home/netblue/.config/firejail-test-file\r"
58send -- "firejail --noprofile --chroot=/tmp/chroot --tmpfs=/home/netblue/.config\r" 58 sleep 1
59expect { 59 send -- "firejail --noprofile --chroot=/tmp/chroot --tmpfs=/home/netblue/.config\r"
60 timeout {puts "TESTING ERROR 4\n";exit} 60 expect {
61 "Child process initialized" 61 timeout {puts "TESTING ERROR 4\n";exit}
62} 62 "Child process initialized"
63sleep 1 63 }
64 64 sleep 1
65send -- "ls ~/.config | wc -l\r" 65
66expect { 66 send -- "ls ~/.config | wc -l\r"
67 timeout {puts "TESTING ERROR 5\n";exit} 67 expect {
68 "0" 68 timeout {puts "TESTING ERROR 5\n";exit}
69 "0"
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"