aboutsummaryrefslogtreecommitdiffstats
path: root/test/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'test/profiles')
-rwxr-xr-xtest/profiles/ignore.exp6
-rw-r--r--test/profiles/ignore.profile2
-rw-r--r--test/profiles/ignore2.profile4
-rw-r--r--test/profiles/ignore3.profile2
4 files changed, 7 insertions, 7 deletions
diff --git a/test/profiles/ignore.exp b/test/profiles/ignore.exp
index 450d271c1..053d920d3 100755
--- a/test/profiles/ignore.exp
+++ b/test/profiles/ignore.exp
@@ -23,7 +23,7 @@ after 100
23send -- "exit\r" 23send -- "exit\r"
24sleep 1 24sleep 1
25 25
26send -- "firejail --ignore=seccomp --ignore=shell --profile=ignore.profile \r" 26send -- "firejail --ignore=seccomp --ignore=name --profile=ignore.profile \r"
27expect { 27expect {
28 timeout {puts "TESTING ERROR 3\n";exit} 28 timeout {puts "TESTING ERROR 3\n";exit}
29 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" 29 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
@@ -39,7 +39,7 @@ after 100
39send -- "exit\r" 39send -- "exit\r"
40sleep 1 40sleep 1
41 41
42send -- "firejail --ignore=private --ignore=shell --profile=ignore.profile \r" 42send -- "firejail --ignore=private --ignore=name --profile=ignore.profile \r"
43expect { 43expect {
44 timeout {puts "TESTING ERROR 5\n";exit} 44 timeout {puts "TESTING ERROR 5\n";exit}
45 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" 45 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
@@ -66,7 +66,7 @@ after 100
66send -- "exit\r" 66send -- "exit\r"
67sleep 1 67sleep 1
68 68
69send -- "firejail --ignore=quiet --ignore=shell --profile=ignore.profile \r" 69send -- "firejail --ignore=quiet --ignore=name --profile=ignore.profile \r"
70expect { 70expect {
71 timeout {puts "TESTING ERROR 9\n";exit} 71 timeout {puts "TESTING ERROR 9\n";exit}
72 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" 72 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
diff --git a/test/profiles/ignore.profile b/test/profiles/ignore.profile
index aec231ad2..dec4a5db7 100644
--- a/test/profiles/ignore.profile
+++ b/test/profiles/ignore.profile
@@ -1,3 +1,3 @@
1private 1private
2seccomp 2seccomp
3shell none 3name test
diff --git a/test/profiles/ignore2.profile b/test/profiles/ignore2.profile
index c85cd9544..9d7362599 100644
--- a/test/profiles/ignore2.profile
+++ b/test/profiles/ignore2.profile
@@ -1,5 +1,5 @@
1ignore seccomp 1ignore seccomp
2ignore shell 2ignore name
3private 3private
4seccomp 4seccomp
5shell none 5name test
diff --git a/test/profiles/ignore3.profile b/test/profiles/ignore3.profile
index f0c9699e1..4ad474851 100644
--- a/test/profiles/ignore3.profile
+++ b/test/profiles/ignore3.profile
@@ -1,4 +1,4 @@
1quiet 1quiet
2private 2private
3seccomp 3seccomp
4shell none 4name test