diff options
Diffstat (limited to 'test/utils/build.exp')
-rwxr-xr-x | test/utils/build.exp | 9 |
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 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "echo testing > ~/firejail-test-file-7699\r" | 10 | send -- "echo testing > ~/_firejail-test-file\r" |
11 | after 100 | 11 | after 100 |
12 | 12 | ||
13 | send -- "firejail --build cat ~/firejail-test-file-7699\r" | 13 | send -- "firejail --build cat ~/_firejail-test-file\r" |
14 | expect { | 14 | expect { |
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 | } |
18 | expect { | 18 | expect { |
19 | timeout {puts "TESTING ERROR 1\n";exit} | 19 | timeout {puts "TESTING ERROR 1\n";exit} |
@@ -77,7 +77,8 @@ expect { | |||
77 | } | 77 | } |
78 | after 100 | 78 | after 100 |
79 | 79 | ||
80 | 80 | send -- "rm -f ~/_firejail-test-file\r" | |
81 | after 100 | ||
81 | 82 | ||
82 | send -- "firejail --build cat /etc/passwd\r" | 83 | send -- "firejail --build cat /etc/passwd\r" |
83 | expect { | 84 | expect { |