diff options
Diffstat (limited to 'test/fs_home_sanitize.exp')
-rwxr-xr-x | test/fs_home_sanitize.exp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/fs_home_sanitize.exp b/test/fs_home_sanitize.exp deleted file mode 100755 index d661f9c7b..000000000 --- a/test/fs_home_sanitize.exp +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | sleep 1 | ||
13 | |||
14 | send -- "ls /home;pwd\r" | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 1\n";exit} | ||
17 | "bingo" | ||
18 | } | ||
19 | expect { | ||
20 | timeout {puts "TESTING ERROR 2\n";exit} | ||
21 | "home" | ||
22 | } | ||
23 | sleep 1 | ||
24 | |||
25 | send -- "ls /home/bingo;pwd\r" | ||
26 | expect { | ||
27 | timeout {puts "TESTING ERROR 3\n";exit} | ||
28 | "cannot open directory" | ||
29 | } | ||
30 | sleep 1 | ||
31 | |||
32 | puts "\n" | ||