From 01194ad1e5f38e929cb7fbbbdc4ec0ee92b8b1f2 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 28 Aug 2015 10:34:38 -0400 Subject: testing default.profile --- test/option-trace.exp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'test/option-trace.exp') diff --git a/test/option-trace.exp b/test/option-trace.exp index b8f723fb8..1d97df9b3 100755 --- a/test/option-trace.exp +++ b/test/option-trace.exp @@ -4,28 +4,24 @@ set timeout 10 spawn $env(SHELL) match_max 100000 -send -- "firejail --trace firefox --name=testing\r" +send -- "firejail --trace\r" expect { timeout {puts "TESTING ERROR 0\n";exit} "Child process initialized" } expect { timeout {puts "TESTING ERROR 1\n";exit} - "command not found" {puts "\nTESTING: not tested, firefox not found\n"; exit} - "1:firefox:open" {puts "\n"} - "1:iceweasel:open" + "1:bash:open /dev/tty" } expect { timeout {puts "TESTING ERROR 2\n";exit} - "1:firefox:access" {puts "\n"} - "1:iceweasel:access" + "1:bash:fopen /etc/passwd" } expect { timeout {puts "TESTING ERROR 3\n";exit} - "1:firefox:connect" {puts "\n"} - "1:iceweasel:connect" + "1:bash:access /etc/terminfo/x/xterm" } sleep 1 -puts "\n" +puts "all done\n" -- cgit v1.2.3-54-g00ecf