diff options
author | netblue30 <netblue30@yahoo.com> | 2016-12-01 12:30:11 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-12-01 12:30:11 -0500 |
commit | fbcf885bcdcf71c6a9f88bed8ae38e686f5f7f21 (patch) | |
tree | 360060483d8250a1235885376c2c1493f68e41ba /test/utils | |
parent | private-opt, private-srv (diff) | |
download | firejail-fbcf885bcdcf71c6a9f88bed8ae38e686f5f7f21.tar.gz firejail-fbcf885bcdcf71c6a9f88bed8ae38e686f5f7f21.tar.zst firejail-fbcf885bcdcf71c6a9f88bed8ae38e686f5f7f21.zip |
cleanup
Diffstat (limited to 'test/utils')
-rwxr-xr-x | test/utils/join.exp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/test/utils/join.exp b/test/utils/join.exp index fc30bc6a4..79fe99f2d 100755 --- a/test/utils/join.exp +++ b/test/utils/join.exp | |||
@@ -32,7 +32,20 @@ expect { | |||
32 | "/bin/bash" | 32 | "/bin/bash" |
33 | } | 33 | } |
34 | 34 | ||
35 | send -- "exit" | 35 | send -- "exit\r" |
36 | sleep 1 | ||
37 | send -- "firejail --join-network=jointesting\r" | ||
38 | expect { | ||
39 | timeout {puts "TESTING ERROR 4\n";exit} | ||
40 | "is only available to root user" | ||
41 | } | ||
42 | after 100 | ||
43 | send -- "firejail --join-filesystem=jointesting\r" | ||
44 | expect { | ||
45 | timeout {puts "TESTING ERROR 5\n";exit} | ||
46 | "is only available to root user" | ||
47 | } | ||
48 | |||
36 | after 100 | 49 | after 100 |
37 | 50 | ||
38 | puts "\nall done\n" | 51 | puts "\nall done\n" |