diff options
Diffstat (limited to 'test/option_bind_file.exp')
-rwxr-xr-x | test/option_bind_file.exp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/option_bind_file.exp b/test/option_bind_file.exp deleted file mode 100755 index 8926e0391..000000000 --- a/test/option_bind_file.exp +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --bind=tmpfile,/etc/passwd\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | sleep 1 | ||
13 | |||
14 | send -- "cat /etc/passwd;pwd\r" | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 1\n";exit} | ||
17 | "hello" | ||
18 | } | ||
19 | sleep 1 | ||
20 | |||
21 | puts "\n" | ||
22 | |||