diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2016-04-28 22:22:36 +0200 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2016-04-28 22:36:58 +0200 |
commit | b6c003afba364756f4e70d7cea4e5ac91177f578 (patch) | |
tree | f48ea6b90087b636efea2c87b432d31253eae6b0 /test/utils | |
parent | fixed make test-envirnment for running under /tmp (diff) | |
download | firejail-b6c003afba364756f4e70d7cea4e5ac91177f578.tar.gz firejail-b6c003afba364756f4e70d7cea4e5ac91177f578.tar.zst firejail-b6c003afba364756f4e70d7cea4e5ac91177f578.zip |
Fixes for ls.exp and trace.exp
Diffstat (limited to 'test/utils')
-rwxr-xr-x | test/utils/ls.exp | 2 | ||||
-rwxr-xr-x | test/utils/trace.exp | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/utils/ls.exp b/test/utils/ls.exp index 1936c0aff..3a99be0d5 100755 --- a/test/utils/ls.exp +++ b/test/utils/ls.exp | |||
@@ -12,7 +12,7 @@ expect { | |||
12 | "Child process initialized" | 12 | "Child process initialized" |
13 | } | 13 | } |
14 | sleep 2 | 14 | sleep 2 |
15 | send -- "echo my_testing > lstesting\r" | 15 | send -- "echo my_testing > ~/lstesting\r" |
16 | sleep 2 | 16 | sleep 2 |
17 | 17 | ||
18 | 18 | ||
diff --git a/test/utils/trace.exp b/test/utils/trace.exp index c08925101..41058fd74 100755 --- a/test/utils/trace.exp +++ b/test/utils/trace.exp | |||
@@ -95,18 +95,18 @@ sleep 1 | |||
95 | 95 | ||
96 | send -- "firejail --trace\r" | 96 | send -- "firejail --trace\r" |
97 | expect { | 97 | expect { |
98 | timeout {puts "TESTING ERROR 0\n";exit} | 98 | timeout {puts "TESTING ERROR 11\n";exit} |
99 | "Child process initialized" | 99 | "Child process initialized" |
100 | } | 100 | } |
101 | expect { | 101 | expect { |
102 | timeout {puts "TESTING ERROR 1\n";exit} | 102 | timeout {puts "TESTING ERROR 12\n";exit} |
103 | "bash:open /dev/tty" {puts "64bit\n"} | 103 | "bash:open /dev/tty" {puts "64bit\n"} |
104 | "bash:open64 /dev/tty" {puts "32bit\n"} | 104 | "bash:open64 /dev/tty" {puts "32bit\n"} |
105 | } | 105 | } |
106 | expect { | 106 | expect { |
107 | timeout {puts "TESTING ERROR 3\n";exit} | 107 | timeout {puts "TESTING ERROR 13\n";exit} |
108 | "bash:access /etc/terminfo/x/xterm" {puts "debian\n"} | 108 | "bash:access /etc/terminfo/" {puts "debian\n"} |
109 | "bash:access /usr/share/terminfo/x/xterm" {puts "arch\n"} | 109 | "bash:access /usr/share/terminfo/" {puts "arch\n"} |
110 | } | 110 | } |
111 | 111 | ||
112 | puts "\nall done\n" | 112 | puts "\nall done\n" |