diff options
author | 2016-05-05 10:22:18 -0400 | |
---|---|---|
committer | 2016-05-05 10:22:18 -0400 | |
commit | 37a5a3545ef6d8d03dad8bbd888f53e13274c9e5 (patch) | |
tree | 5d56a4b0a0933963d97eb0a88dd00fec9ea58bf2 /test/kmsg.exp | |
parent | rename generic.profile as default.profile (diff) | |
download | firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.gz firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.tar.zst firejail-37a5a3545ef6d8d03dad8bbd888f53e13274c9e5.zip |
testing
Diffstat (limited to 'test/kmsg.exp')
-rwxr-xr-x | test/kmsg.exp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/kmsg.exp b/test/kmsg.exp deleted file mode 100755 index 096bdb708..000000000 --- a/test/kmsg.exp +++ /dev/null | |||
@@ -1,29 +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 1\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | sleep 1 | ||
13 | |||
14 | send -- "cat /dev/kmsg\r" | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 2\n";exit} | ||
17 | "Permission denied" | ||
18 | } | ||
19 | sleep 1 | ||
20 | |||
21 | send -- "cat /proc/kmsg\r" | ||
22 | expect { | ||
23 | timeout {puts "TESTING ERROR 3\n";exit} | ||
24 | "Permission denied" | ||
25 | } | ||
26 | sleep 1 | ||
27 | |||
28 | puts "\nall done\n" | ||
29 | |||