diff options
Diffstat (limited to 'test/root/option_bind_directory.exp')
-rwxr-xr-x | test/root/option_bind_directory.exp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/root/option_bind_directory.exp b/test/root/option_bind_directory.exp deleted file mode 100755 index 83ed6b84d..000000000 --- a/test/root/option_bind_directory.exp +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2023 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | set timeout 10 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | send -- "firejail --bind=/tmp/chroot,mntpoint\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 0\n";exit} | ||
13 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" | ||
14 | } | ||
15 | sleep 1 | ||
16 | |||
17 | send -- "ls mntpoint;pwd\r" | ||
18 | expect { | ||
19 | timeout {puts "TESTING ERROR 1\n";exit} | ||
20 | "root" | ||
21 | } | ||
22 | sleep 1 | ||
23 | |||
24 | puts "\n" | ||