diff options
Diffstat (limited to 'test/utils/build.exp')
-rwxr-xr-x | test/utils/build.exp | 12 |
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 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "firejail --build ls ~\r" | 10 | send -- "firejail --build cat ~/firejail-test-file-7699\r" |
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 0\n";exit} | ||
13 | "whitelist ~/firejail-test-file-7699" | ||
14 | } | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 0.1\n";exit} | ||
17 | "include /etc/firejail/whitelist-common.inc" | ||
18 | } | ||
11 | expect { | 19 | expect { |
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 | } |
23 | expect { | 31 | expect { |
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 | } |
27 | expect { | 35 | expect { |
28 | timeout {puts "TESTING ERROR 5\n";exit} | 36 | timeout {puts "TESTING ERROR 5\n";exit} |