From fbcf885bcdcf71c6a9f88bed8ae38e686f5f7f21 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 1 Dec 2016 12:30:11 -0500 Subject: cleanup --- test/utils/join.exp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'test/utils') diff --git a/test/utils/join.exp b/test/utils/join.exp index fc30bc6a4..79fe99f2d 100755 --- a/test/utils/join.exp +++ b/test/utils/join.exp @@ -32,7 +32,20 @@ expect { "/bin/bash" } -send -- "exit" +send -- "exit\r" +sleep 1 +send -- "firejail --join-network=jointesting\r" +expect { + timeout {puts "TESTING ERROR 4\n";exit} + "is only available to root user" +} +after 100 +send -- "firejail --join-filesystem=jointesting\r" +expect { + timeout {puts "TESTING ERROR 5\n";exit} + "is only available to root user" +} + after 100 puts "\nall done\n" -- cgit v1.2.3-54-g00ecf