From 4861cca38fcb73bae53f85ff8369c6acd535460e Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 27 Aug 2017 08:04:35 -0400 Subject: cleanup --- test/fs/private-bin.exp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/fs/private-bin.exp') diff --git a/test/fs/private-bin.exp b/test/fs/private-bin.exp index d4cdc3a36..8403b8442 100755 --- a/test/fs/private-bin.exp +++ b/test/fs/private-bin.exp @@ -60,31 +60,31 @@ expect { send -- "ls /bin\r" expect { - timeout {puts "TESTING ERROR 5\n";exit} - "ping" {puts "TESTING ERROR 6\n";exit} + timeout {puts "TESTING ERROR 11\n";exit} + "ping" {puts "TESTING ERROR 12\n";exit} "sh" } send -- "exit\r" after 100 -send -- "firejail --private-bin=/etc/shadow\r" +send -- "firejail --debug --private-bin=/etc/shadow \r" expect { - timeout {puts "TESTING ERROR 8\n";exit} - "invalid filename" + timeout {puts "TESTING ERROR 13\n";exit} + "Warning: file /etc/shadow not found" } after 100 send -- "firejail --private-bin=\"bla;bla\"\r" expect { - timeout {puts "TESTING ERROR 9\n";exit} + timeout {puts "TESTING ERROR 14\n";exit} "is an invalid filename" } after 100 send -- "firejail --private-etc=../bin/ls\r" expect { - timeout {puts "TESTING ERROR 10\n";exit} + timeout {puts "TESTING ERROR 15\n";exit} "is an invalid filename" } -- cgit v1.2.3-70-g09d2