From f4ab39bfce61aa7b61b860fab96488b7f3e8fb66 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 15 Feb 2017 19:51:50 -0500 Subject: merge #1100 from zackw: follow link support in --private-bin --- test/fcopy/cmdline.exp | 8 ++++---- test/fs/private-home.exp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/fcopy/cmdline.exp b/test/fcopy/cmdline.exp index 3ea33b01b..10dd8da58 100755 --- a/test/fcopy/cmdline.exp +++ b/test/fcopy/cmdline.exp @@ -10,7 +10,7 @@ match_max 100000 send -- "/usr/lib/firejail/fcopy\r" expect { timeout {puts "TESTING ERROR 0\n";exit} - "files missing" + "arguments missing" } expect { timeout {puts "TESTING ERROR 1\n";exit} @@ -21,7 +21,7 @@ after 100 send -- "/usr/lib/firejail/fcopy foo\r" expect { timeout {puts "TESTING ERROR 2\n";exit} - "files missing" + "arguments missing" } expect { timeout {puts "TESTING ERROR 3\n";exit} @@ -32,14 +32,14 @@ after 100 send -- "/usr/lib/firejail/fcopy f%oo1 foo2\r" expect { timeout {puts "TESTING ERROR 4\n";exit} - "invalid file name" + "invalid source file name" } after 100 send -- "/usr/lib/firejail/fcopy foo1 f,oo2\r" expect { timeout {puts "TESTING ERROR 5\n";exit} - "invalid file name" + "invalid dest file name" } after 100 diff --git a/test/fs/private-home.exp b/test/fs/private-home.exp index f2f30914d..259eb4f9e 100755 --- a/test/fs/private-home.exp +++ b/test/fs/private-home.exp @@ -89,7 +89,7 @@ expect { "Child process initialized" } after 100 -send -- "file file ~/_firejail_test_link2\r" +send -- "file ~/_firejail_test_link2\r" expect { timeout {puts "TESTING ERROR 11\n";exit} "broken symbolic link" -- cgit v1.2.3-54-g00ecf