aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/build.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/build.exp')
-rwxr-xr-xtest/utils/build.exp9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/utils/build.exp b/test/utils/build.exp
index 7fbe969a4..104ac037c 100755
--- a/test/utils/build.exp
+++ b/test/utils/build.exp
@@ -7,13 +7,13 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "echo testing > ~/firejail-test-file-7699\r" 10send -- "echo testing > ~/_firejail-test-file\r"
11after 100 11after 100
12 12
13send -- "firejail --build cat ~/firejail-test-file-7699\r" 13send -- "firejail --build cat ~/_firejail-test-file\r"
14expect { 14expect {
15 timeout {puts "TESTING ERROR 0\n";exit} 15 timeout {puts "TESTING ERROR 0\n";exit}
16 "whitelist $\{HOME\}/firejail-test-file-7699" 16 "allow $\{HOME\}/_firejail-test-file"
17} 17}
18expect { 18expect {
19 timeout {puts "TESTING ERROR 1\n";exit} 19 timeout {puts "TESTING ERROR 1\n";exit}
@@ -77,7 +77,8 @@ expect {
77} 77}
78after 100 78after 100
79 79
80 80send -- "rm -f ~/_firejail-test-file\r"
81after 100
81 82
82send -- "firejail --build cat /etc/passwd\r" 83send -- "firejail --build cat /etc/passwd\r"
83expect { 84expect {