diff options
author | netblue30 <netblue30@yahoo.com> | 2015-08-28 10:34:38 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-08-28 10:34:38 -0400 |
commit | 01194ad1e5f38e929cb7fbbbdc4ec0ee92b8b1f2 (patch) | |
tree | 73ca26789e3aabe3f1bf0f4a8d6c87b7f0f923bc /test/noroot.exp | |
parent | fixed thunderbird profile to allow a browser to start (diff) | |
download | firejail-01194ad1e5f38e929cb7fbbbdc4ec0ee92b8b1f2.tar.gz firejail-01194ad1e5f38e929cb7fbbbdc4ec0ee92b8b1f2.tar.zst firejail-01194ad1e5f38e929cb7fbbbdc4ec0ee92b8b1f2.zip |
testing default.profile
Diffstat (limited to 'test/noroot.exp')
-rwxr-xr-x | test/noroot.exp | 8 |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --debug --noroot --caps.drop=all --seccomp --cpu=0,1 --name=noroot-sandbox\r" | 7 | send -- "firejail --debug --noprofile --noroot --caps.drop=all --seccomp --cpu=0,1 --name=noroot-sandbox\r" |
8 | expect { | 8 | expect { |
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" | |||
75 | sleep 2 | 75 | sleep 2 |
76 | 76 | ||
77 | 77 | ||
78 | send -- "firejail --noroot\r" | 78 | send -- "firejail --noroot --noprofile\r" |
79 | expect { | 79 | expect { |
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" | |||
96 | send -- "exit\r" | 96 | send -- "exit\r" |
97 | sleep 2 | 97 | sleep 2 |
98 | 98 | ||
99 | send -- "firejail --name=test --noroot\r" | 99 | send -- "firejail --name=test --noroot --noprofile\r" |
100 | expect { | 100 | expect { |
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 | } |
124 | puts "\n" | 124 | puts "all done\n" |