aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/3.1.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/features/3.1.exp')
-rwxr-xr-xtest/features/3.1.exp31
1 files changed, 17 insertions, 14 deletions
diff --git a/test/features/3.1.exp b/test/features/3.1.exp
index 6abbf94a5..13ec1b6be 100755
--- a/test/features/3.1.exp
+++ b/test/features/3.1.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
@@ -31,21 +32,23 @@ sleep 1
31# 32#
32# O 33# O
33# 34#
34send -- "firejail --noprofile --overlay --tmpfs=/home/netblue/.config\r" 35if { $overlay == "overlay" } {
35expect { 36 send -- "firejail --noprofile --overlay --tmpfs=/home/netblue/.config\r"
36 timeout {puts "TESTING ERROR 2\n";exit} 37 expect {
37 "Child process initialized" 38 timeout {puts "TESTING ERROR 2\n";exit}
39 "Child process initialized"
40 }
41 sleep 1
42
43 send -- "ls ~/.config | wc -l\r"
44 expect {
45 timeout {puts "TESTING ERROR 3\n";exit}
46 "0"
47 }
48 after 100
49 send -- "exit\r"
50 sleep 1
38} 51}
39sleep 1
40
41send -- "ls ~/.config | wc -l\r"
42expect {
43 timeout {puts "TESTING ERROR 3\n";exit}
44 "0"
45}
46after 100
47send -- "exit\r"
48sleep 1
49 52
50# 53#
51# C 54# C