aboutsummaryrefslogtreecommitdiffstats
path: root/test/noroot.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-08-28 10:34:38 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-08-28 10:34:38 -0400
commit01194ad1e5f38e929cb7fbbbdc4ec0ee92b8b1f2 (patch)
tree73ca26789e3aabe3f1bf0f4a8d6c87b7f0f923bc /test/noroot.exp
parentfixed thunderbird profile to allow a browser to start (diff)
downloadfirejail-01194ad1e5f38e929cb7fbbbdc4ec0ee92b8b1f2.tar.gz
firejail-01194ad1e5f38e929cb7fbbbdc4ec0ee92b8b1f2.tar.zst
firejail-01194ad1e5f38e929cb7fbbbdc4ec0ee92b8b1f2.zip
testing default.profile
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"