summaryrefslogtreecommitdiffstats
path: root/test/noroot.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/noroot.exp')
-rwxr-xr-xtest/noroot.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/noroot.exp b/test/noroot.exp
index 78991d4a9..d16c28dbe 100755
--- a/test/noroot.exp
+++ b/test/noroot.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail --debug --noroot --caps.drop=all --seccomp --cpu=0,1 --name=noroot-sandbox\r" 7send -- "firejail --debug --noprofile --noroot --caps.drop=all --seccomp --cpu=0,1 --name=noroot-sandbox\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0.1\n";exit} 9 timeout {puts "TESTING ERROR 0.1\n";exit}
10 "Child process initialized" 10 "Child process initialized"
@@ -75,7 +75,7 @@ send -- "exit\r"
75sleep 2 75sleep 2
76 76
77 77
78send -- "firejail --noroot\r" 78send -- "firejail --noroot --noprofile\r"
79expect { 79expect {
80 timeout {puts "TESTING ERROR 6\n";exit} 80 timeout {puts "TESTING ERROR 6\n";exit}
81 "Child process initialized" 81 "Child process initialized"
@@ -96,7 +96,7 @@ puts "\n"
96send -- "exit\r" 96send -- "exit\r"
97sleep 2 97sleep 2
98 98
99send -- "firejail --name=test --noroot\r" 99send -- "firejail --name=test --noroot --noprofile\r"
100expect { 100expect {
101 timeout {puts "TESTING ERROR 9\n";exit} 101 timeout {puts "TESTING ERROR 9\n";exit}
102 "Child process initialized" 102 "Child process initialized"
@@ -121,4 +121,4 @@ expect {
121 "effective uid is not 0, is sudo installed setuid root?" { puts "OK\n";} 121 "effective uid is not 0, is sudo installed setuid root?" { puts "OK\n";}
122 "sudo must be owned by uid 0 and have the setuid bit set" { puts "OK\n";} 122 "sudo must be owned by uid 0 and have the setuid bit set" { puts "OK\n";}
123} 123}
124puts "\n" 124puts "all done\n"