From df1831299fab8afaba4dbadf05a8355b20c91ab0 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Mon, 1 Oct 2018 14:23:24 +0200 Subject: tests: skip audit.exp if tests are already running in a pid namespace --- test/utils/shutdown.exp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/utils/shutdown.exp') diff --git a/test/utils/shutdown.exp b/test/utils/shutdown.exp index 1d4dc9ae4..15a74f8c8 100755 --- a/test/utils/shutdown.exp +++ b/test/utils/shutdown.exp @@ -20,7 +20,7 @@ send -- "stty -echo\r" after 100 send -- "firejail --shutdown=shutdowntesting; echo done\r" expect { - timeout {puts "TESTING ERROR 4\n";exit} + timeout {puts "TESTING ERROR 1\n";exit} "done" } sleep 5 @@ -28,15 +28,15 @@ sleep 5 spawn $env(SHELL) send -- "firejail --list;echo done\r" expect { - timeout {puts "TESTING ERROR 5\n";exit} - "shutdowntesting" {puts "TESTING ERROR 6\n";exit} + timeout {puts "TESTING ERROR 2\n";exit} + "shutdowntesting" {puts "TESTING ERROR 3\n";exit} "done" } sleep 1 send -- "firejail --shutdown=sutdowntesting\r" expect { - timeout {puts "TESTING ERROR 5\n";exit} + timeout {puts "TESTING ERROR 4\n";exit} "cannot find sandbox sutdowntesting" } after 100 -- cgit v1.2.3-70-g09d2