aboutsummaryrefslogtreecommitdiffstats
path: root/test/option-trace.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-24 06:37:12 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-24 06:37:12 -0400
commit1724b3bd7fd86876b244cbaf3e4e3a1d005b843d (patch)
tree2831e73514aa7bc67478be0f63e7d22f7c73218f /test/option-trace.exp
parenttesting (diff)
downloadfirejail-1724b3bd7fd86876b244cbaf3e4e3a1d005b843d.tar.gz
firejail-1724b3bd7fd86876b244cbaf3e4e3a1d005b843d.tar.zst
firejail-1724b3bd7fd86876b244cbaf3e4e3a1d005b843d.zip
testing
Diffstat (limited to 'test/option-trace.exp')
-rwxr-xr-xtest/option-trace.exp25
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
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --trace\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized"
11}
12expect {
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}
17expect {
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
23sleep 1
24
25puts "\nall done\n"