aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/firemon-caps.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/firemon-caps.exp')
-rwxr-xr-xtest/utils/firemon-caps.exp14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/utils/firemon-caps.exp b/test/utils/firemon-caps.exp
index dc229a85d..02b317341 100755
--- a/test/utils/firemon-caps.exp
+++ b/test/utils/firemon-caps.exp
@@ -10,7 +10,7 @@ match_max 100000
10send -- "firejail --name=bingo1 --noprofile --caps\r" 10send -- "firejail --name=bingo1 --noprofile --caps\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 "Child process initialized" 13 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
14} 14}
15sleep 1 15sleep 1
16 16
@@ -18,7 +18,7 @@ spawn $env(SHELL)
18send -- "firejail --name=bingo2 --noprofile\r" 18send -- "firejail --name=bingo2 --noprofile\r"
19expect { 19expect {
20 timeout {puts "TESTING ERROR 1\n";exit} 20 timeout {puts "TESTING ERROR 1\n";exit}
21 "Child process initialized" 21 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
22} 22}
23sleep 1 23sleep 1
24 24
@@ -26,7 +26,7 @@ spawn $env(SHELL)
26send -- "firejail --name=bingo3 --noprofile --caps.drop=all\r" 26send -- "firejail --name=bingo3 --noprofile --caps.drop=all\r"
27expect { 27expect {
28 timeout {puts "TESTING ERROR 2\n";exit} 28 timeout {puts "TESTING ERROR 2\n";exit}
29 "Child process initialized" 29 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
30} 30}
31sleep 1 31sleep 1
32 32
@@ -34,7 +34,7 @@ spawn $env(SHELL)
34send -- "firejail --noprofile --name=bingo4 --caps.drop=chown,kill\r" 34send -- "firejail --noprofile --name=bingo4 --caps.drop=chown,kill\r"
35expect { 35expect {
36 timeout {puts "TESTING ERROR 3\n";exit} 36 timeout {puts "TESTING ERROR 3\n";exit}
37 "Child process initialized" 37 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
38} 38}
39sleep 1 39sleep 1
40 40
@@ -42,7 +42,7 @@ spawn $env(SHELL)
42send -- "firejail --noprofile --name=bingo5 --caps.keep=chown,kill\r" 42send -- "firejail --noprofile --name=bingo5 --caps.keep=chown,kill\r"
43expect { 43expect {
44 timeout {puts "TESTING ERROR 4\n";exit} 44 timeout {puts "TESTING ERROR 4\n";exit}
45 "Child process initialized" 45 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
46} 46}
47sleep 1 47sleep 1
48 48
@@ -50,7 +50,7 @@ spawn $env(SHELL)
50send -- "firejail --name=bingo6 --profile=caps1.profile\r" 50send -- "firejail --name=bingo6 --profile=caps1.profile\r"
51expect { 51expect {
52 timeout {puts "TESTING ERROR 5\n";exit} 52 timeout {puts "TESTING ERROR 5\n";exit}
53 "Child process initialized" 53 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
54} 54}
55sleep 1 55sleep 1
56 56
@@ -58,7 +58,7 @@ spawn $env(SHELL)
58send -- "firejail --name=bingo7 --profile=caps2.profile\r" 58send -- "firejail --name=bingo7 --profile=caps2.profile\r"
59expect { 59expect {
60 timeout {puts "TESTING ERROR 0\n";exit} 60 timeout {puts "TESTING ERROR 0\n";exit}
61 "Child process initialized" 61 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
62} 62}
63sleep 1 63sleep 1
64 64