aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-08-31 06:46:57 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-08-31 06:46:57 -0400
commitc400b75a70af36c6f81a77f4c0fbd5bcc33fcce0 (patch)
treeb222da7db5ccf3cec25f274dcad77b2c17f5ea4b /test
parentadmin work (diff)
downloadfirejail-c400b75a70af36c6f81a77f4c0fbd5bcc33fcce0.tar.gz
firejail-c400b75a70af36c6f81a77f4c0fbd5bcc33fcce0.tar.zst
firejail-c400b75a70af36c6f81a77f4c0fbd5bcc33fcce0.zip
using /etc/firejail/server.profile as default profile if the sandbox is started by root
Diffstat (limited to 'test')
-rwxr-xr-xtest/option_bind_directory.exp4
-rwxr-xr-xtest/option_bind_file.exp4
-rwxr-xr-xtest/seccomp-umount.exp2
3 files changed, 1 insertions, 9 deletions
diff --git a/test/option_bind_directory.exp b/test/option_bind_directory.exp
index 1c1acc814..3233c68de 100755
--- a/test/option_bind_directory.exp
+++ b/test/option_bind_directory.exp
@@ -16,10 +16,6 @@ expect {
16 timeout {puts "TESTING ERROR 1\n";exit} 16 timeout {puts "TESTING ERROR 1\n";exit}
17 "root" 17 "root"
18} 18}
19expect {
20 timeout {puts "TESTING ERROR 2\n";exit}
21 "home"
22}
23sleep 1 19sleep 1
24 20
25puts "\n" 21puts "\n"
diff --git a/test/option_bind_file.exp b/test/option_bind_file.exp
index 0380b68b5..8926e0391 100755
--- a/test/option_bind_file.exp
+++ b/test/option_bind_file.exp
@@ -16,10 +16,6 @@ expect {
16 timeout {puts "TESTING ERROR 1\n";exit} 16 timeout {puts "TESTING ERROR 1\n";exit}
17 "hello" 17 "hello"
18} 18}
19expect {
20 timeout {puts "TESTING ERROR 2\n";exit}
21 "home"
22}
23sleep 1 19sleep 1
24 20
25puts "\n" 21puts "\n"
diff --git a/test/seccomp-umount.exp b/test/seccomp-umount.exp
index e037d3264..c0107a084 100755
--- a/test/seccomp-umount.exp
+++ b/test/seccomp-umount.exp
@@ -10,7 +10,7 @@ expect {
10 "root" 10 "root"
11} 11}
12 12
13send -- "firejail --net=br0 --ip=10.10.20.5 --seccomp\r" 13send -- "firejail --net=br0 --ip=10.10.20.5 --seccomp --noprofile\r"
14expect { 14expect {
15 timeout {puts "TESTING ERROR 0\n";exit} 15 timeout {puts "TESTING ERROR 0\n";exit}
16 "Child process initialized" 16 "Child process initialized"