diff options
author | 2016-09-08 08:58:30 -0400 | |
---|---|---|
committer | 2016-09-08 08:58:30 -0400 | |
commit | 22d6041c8fe43e025676ea254d3cbff7da7e3d4f (patch) | |
tree | b6f07ab0af1564e38b16e856e645625ce6570921 /test/sysrq-trigger.exp | |
parent | Merge pull request #771 from l29ah/master (diff) | |
download | firejail-22d6041c8fe43e025676ea254d3cbff7da7e3d4f.tar.gz firejail-22d6041c8fe43e025676ea254d3cbff7da7e3d4f.tar.zst firejail-22d6041c8fe43e025676ea254d3cbff7da7e3d4f.zip |
0.9.42 testing
Diffstat (limited to 'test/sysrq-trigger.exp')
-rwxr-xr-x | test/sysrq-trigger.exp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/sysrq-trigger.exp b/test/sysrq-trigger.exp deleted file mode 100755 index 18fb4a01a..000000000 --- a/test/sysrq-trigger.exp +++ /dev/null | |||
@@ -1,21 +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 -- "echo b > /proc/sysrq-trigger\r" | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 1\n";exit} | ||
17 | "Read-only file system" | ||
18 | } | ||
19 | sleep 1 | ||
20 | |||
21 | puts "\n" | ||