From 8fdede5811ad03ccb6261fc992fcf11b4a06a3b3 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Mon, 22 Aug 2016 11:31:08 -0400 Subject: testing --- test/profiles/ignore.exp | 2 +- test/profiles/profile_followlnk.exp | 3 ++- test/profiles/profile_noperm.exp | 2 +- test/profiles/profile_readonly.exp | 4 ++-- test/profiles/profile_syntax.exp | 2 +- test/profiles/profile_syntax2.exp | 4 ++-- 6 files changed, 9 insertions(+), 8 deletions(-) (limited to 'test/profiles') diff --git a/test/profiles/ignore.exp b/test/profiles/ignore.exp index 281697b26..0c5691e9a 100755 --- a/test/profiles/ignore.exp +++ b/test/profiles/ignore.exp @@ -46,5 +46,5 @@ expect { "Child process initialized" } - +after 100 puts "\nall done\n" diff --git a/test/profiles/profile_followlnk.exp b/test/profiles/profile_followlnk.exp index 4d89de26b..eb3d04852 100755 --- a/test/profiles/profile_followlnk.exp +++ b/test/profiles/profile_followlnk.exp @@ -31,7 +31,8 @@ expect { sleep 1 send -- "exit\r" +after 100 send -- "rm -fr /tmp/firejailtest*\r" -sleep 1 +after 100 puts "\nall done\n" diff --git a/test/profiles/profile_noperm.exp b/test/profiles/profile_noperm.exp index 25ec580bd..b3b031cb2 100755 --- a/test/profiles/profile_noperm.exp +++ b/test/profiles/profile_noperm.exp @@ -9,5 +9,5 @@ expect { timeout {puts "TESTING ERROR 0\n";exit} "cannot access profile" } -sleep 1 +after 100 puts "\nall done\n" diff --git a/test/profiles/profile_readonly.exp b/test/profiles/profile_readonly.exp index e8e78d6ad..c1c9544a6 100755 --- a/test/profiles/profile_readonly.exp +++ b/test/profiles/profile_readonly.exp @@ -28,9 +28,9 @@ expect { "Read-only file system" } send -- "exit\r" -sleep 1 +after 100 send -- "rm -fr /tmp/firejailtest*\r" -sleep 1 +after 100 puts "\nall done\n" diff --git a/test/profiles/profile_syntax.exp b/test/profiles/profile_syntax.exp index dd6b637ed..c8cb99a5f 100755 --- a/test/profiles/profile_syntax.exp +++ b/test/profiles/profile_syntax.exp @@ -50,5 +50,5 @@ expect { } send -- "exit\r" -sleep 1 +after 100 puts "\nall done\n" diff --git a/test/profiles/profile_syntax2.exp b/test/profiles/profile_syntax2.exp index ba83731be..9dca35ca2 100755 --- a/test/profiles/profile_syntax2.exp +++ b/test/profiles/profile_syntax2.exp @@ -45,6 +45,6 @@ expect { timeout {puts "TESTING ERROR 8\n";exit} "Child process initialized" } - -sleep 1 +send -- "exit\r" +after 100 puts "\nall done\n" -- cgit v1.2.3-54-g00ecf