summaryrefslogtreecommitdiffstats
path: root/test/utils/build.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/build.exp')
-rwxr-xr-xtest/utils/build.exp12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/utils/build.exp b/test/utils/build.exp
index 916f373b9..de2a9b6ae 100755
--- a/test/utils/build.exp
+++ b/test/utils/build.exp
@@ -7,7 +7,15 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail --build ls ~\r" 10send -- "firejail --build cat ~/firejail-test-file-7699\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 "whitelist ~/firejail-test-file-7699"
14}
15expect {
16 timeout {puts "TESTING ERROR 0.1\n";exit}
17 "include /etc/firejail/whitelist-common.inc"
18}
11expect { 19expect {
12 timeout {puts "TESTING ERROR 1\n";exit} 20 timeout {puts "TESTING ERROR 1\n";exit}
13 "private-tmp" 21 "private-tmp"
@@ -22,7 +30,7 @@ expect {
22} 30}
23expect { 31expect {
24 timeout {puts "TESTING ERROR 4\n";exit} 32 timeout {puts "TESTING ERROR 4\n";exit}
25 "private-bin ls," 33 "private-bin cat,"
26} 34}
27expect { 35expect {
28 timeout {puts "TESTING ERROR 5\n";exit} 36 timeout {puts "TESTING ERROR 5\n";exit}