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