aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/1.7.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/1.7.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/1.7.exp')
-rwxr-xr-xtest/features/1.7.exp31
1 files changed, 17 insertions, 14 deletions
diff --git a/test/features/1.7.exp b/test/features/1.7.exp
index c95184fd1..35351b7d9 100755
--- a/test/features/1.7.exp
+++ b/test/features/1.7.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
@@ -32,21 +33,23 @@ sleep 1
32# 33#
33# O 34# O
34# 35#
35send -- "firejail --noprofile --overlay\r" 36if { $overlay == "overlay" } {
36expect { 37 send -- "firejail --noprofile --overlay\r"
37 timeout {puts "TESTING ERROR 2\n";exit} 38 expect {
38 "Child process initialized" 39 timeout {puts "TESTING ERROR 2\n";exit}
40 "Child process initialized"
41 }
42 sleep 1
43
44 send -- "ls -l /var/tmp/somefile | wc -l\r"
45 expect {
46 timeout {puts "TESTING ERROR 3\n";exit}
47 "0"
48 }
49 after 100
50 send -- "exit\r"
51 sleep 1
39} 52}
40sleep 1
41
42send -- "ls -l /var/tmp/somefile | wc -l\r"
43expect {
44 timeout {puts "TESTING ERROR 3\n";exit}
45 "0"
46}
47after 100
48send -- "exit\r"
49sleep 1
50 53
51# 54#
52# C 55# C