aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/3.4.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 12:38:13 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 12:38:13 -0500
commit686bc51e38b0718651e82818871b0bf1451c8b21 (patch)
tree521f5fc2123c4782493fc86b46cc41533acb85db /test/features/3.4.exp
parent0.9.36 testing (diff)
downloadfirejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.gz
firejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.zst
firejail-686bc51e38b0718651e82818871b0bf1451c8b21.zip
0.9.36 testing
Diffstat (limited to 'test/features/3.4.exp')
-rwxr-xr-xtest/features/3.4.exp31
1 files changed, 17 insertions, 14 deletions
diff --git a/test/features/3.4.exp b/test/features/3.4.exp
index bc6e10733..da6dd3ff0 100755
--- a/test/features/3.4.exp
+++ b/test/features/3.4.exp
@@ -6,6 +6,7 @@
6set timeout 10 6set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9set overlay [lindex $argv 0]
9 10
10# 11#
11# N 12# N
@@ -30,21 +31,23 @@ sleep 1
30# 31#
31# O 32# O
32# 33#
33send -- "firejail --noprofile --overlay --whitelist=/home/netblue/.config\r" 34if { $overlay == "overlay" } {
34expect { 35 send -- "firejail --noprofile --overlay --whitelist=/home/netblue/.config\r"
35 timeout {puts "TESTING ERROR 2\n";exit} 36 expect {
36 "Child process initialized" 37 timeout {puts "TESTING ERROR 2\n";exit}
37} 38 "Child process initialized"
38sleep 1 39 }
39 40 sleep 1
40send -- "ls -al ~/. | wc -l\r" 41
41expect { 42 send -- "ls -al ~/. | wc -l\r"
42 timeout {puts "TESTING ERROR 1\n";exit} 43 expect {
43 "6" 44 timeout {puts "TESTING ERROR 1\n";exit}
45 "6"
46 }
47 after 100
48 send -- "exit\r"
49 sleep 1
44} 50}
45after 100
46send -- "exit\r"
47sleep 1
48 51
49# 52#
50# C 53# C