diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-24 06:37:12 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-24 06:37:12 -0400 |
commit | 1724b3bd7fd86876b244cbaf3e4e3a1d005b843d (patch) | |
tree | 2831e73514aa7bc67478be0f63e7d22f7c73218f /test/option-trace.exp | |
parent | testing (diff) | |
download | firejail-1724b3bd7fd86876b244cbaf3e4e3a1d005b843d.tar.gz firejail-1724b3bd7fd86876b244cbaf3e4e3a1d005b843d.tar.zst firejail-1724b3bd7fd86876b244cbaf3e4e3a1d005b843d.zip |
testing
Diffstat (limited to 'test/option-trace.exp')
-rwxr-xr-x | test/option-trace.exp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/option-trace.exp b/test/option-trace.exp deleted file mode 100755 index 38038b58e..000000000 --- a/test/option-trace.exp +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --trace\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | expect { | ||
13 | timeout {puts "TESTING ERROR 1\n";exit} | ||
14 | "bash:open /dev/tty" {puts "64bit\n"} | ||
15 | "bash:open64 /dev/tty" {puts "32bit\n"} | ||
16 | } | ||
17 | expect { | ||
18 | timeout {puts "TESTING ERROR 3\n";exit} | ||
19 | "bash:access /etc/terminfo/x/xterm" {puts "debian\n"} | ||
20 | "bash:access /usr/share/terminfo/x/xterm" {puts "arch\n"} | ||
21 | } | ||
22 | |||
23 | sleep 1 | ||
24 | |||
25 | puts "\nall done\n" | ||