From b6c003afba364756f4e70d7cea4e5ac91177f578 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Thu, 28 Apr 2016 22:22:36 +0200 Subject: Fixes for ls.exp and trace.exp --- test/utils/ls.exp | 2 +- test/utils/trace.exp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test') 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 { "Child process initialized" } sleep 2 -send -- "echo my_testing > lstesting\r" +send -- "echo my_testing > ~/lstesting\r" sleep 2 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 send -- "firejail --trace\r" expect { - timeout {puts "TESTING ERROR 0\n";exit} + timeout {puts "TESTING ERROR 11\n";exit} "Child process initialized" } expect { - timeout {puts "TESTING ERROR 1\n";exit} + timeout {puts "TESTING ERROR 12\n";exit} "bash:open /dev/tty" {puts "64bit\n"} "bash:open64 /dev/tty" {puts "32bit\n"} } expect { - timeout {puts "TESTING ERROR 3\n";exit} - "bash:access /etc/terminfo/x/xterm" {puts "debian\n"} - "bash:access /usr/share/terminfo/x/xterm" {puts "arch\n"} + timeout {puts "TESTING ERROR 13\n";exit} + "bash:access /etc/terminfo/" {puts "debian\n"} + "bash:access /usr/share/terminfo/" {puts "arch\n"} } puts "\nall done\n" -- cgit v1.2.3-70-g09d2