aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-01-19 07:56:13 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-01-19 07:56:13 -0500
commitf3d548ca370c32c1df97628a2117cd79aae6f710 (patch)
tree1e36d0492f380b6ae7636ddbf296492c825f7775 /test
parentcleanup (diff)
downloadfirejail-f3d548ca370c32c1df97628a2117cd79aae6f710.tar.gz
firejail-f3d548ca370c32c1df97628a2117cd79aae6f710.tar.zst
firejail-f3d548ca370c32c1df97628a2117cd79aae6f710.zip
cleanup
Diffstat (limited to 'test')
-rwxr-xr-xtest/fs/whitelist-dev.exp2
-rwxr-xr-xtest/fs/whitelist.exp2
-rwxr-xr-xtest/sysutils/man.exp6
3 files changed, 4 insertions, 6 deletions
diff --git a/test/fs/whitelist-dev.exp b/test/fs/whitelist-dev.exp
index 049698b99..fb91c4678 100755
--- a/test/fs/whitelist-dev.exp
+++ b/test/fs/whitelist-dev.exp
@@ -39,7 +39,7 @@ after 100
39send -- "exit\r" 39send -- "exit\r"
40sleep 1 40sleep 1
41 41
42send -- "firejail --private-dev --debug\r" 42send -- "firejail --private-dev\r"
43expect { 43expect {
44 timeout {puts "TESTING ERROR 4\n";exit} 44 timeout {puts "TESTING ERROR 4\n";exit}
45 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" 45 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
diff --git a/test/fs/whitelist.exp b/test/fs/whitelist.exp
index 8e98b9dfa..f35744a9c 100755
--- a/test/fs/whitelist.exp
+++ b/test/fs/whitelist.exp
@@ -33,7 +33,7 @@ after 200
33send -- "ln -s ~/fjtest-dir ~/fjtest-dir-lnk\r" 33send -- "ln -s ~/fjtest-dir ~/fjtest-dir-lnk\r"
34after 200 34after 200
35 35
36send -- "firejail --whitelist=~/fjtest-file --whitelist=~/fjtest-dir --debug\r" 36send -- "firejail --whitelist=~/fjtest-file --whitelist=~/fjtest-dir\r"
37expect { 37expect {
38 timeout {puts "TESTING ERROR 0\n";exit} 38 timeout {puts "TESTING ERROR 0\n";exit}
39 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" 39 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
diff --git a/test/sysutils/man.exp b/test/sysutils/man.exp
index e5dd83522..a263180b5 100755
--- a/test/sysutils/man.exp
+++ b/test/sysutils/man.exp
@@ -10,11 +10,9 @@ match_max 100000
10send -- "firejail man firejail\r" 10send -- "firejail man firejail\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 "(press RETURN)" {puts "TESTING SKIP 1.1\n";exit}
14 "Press RETURN to continue" {puts "TESTING SKIP 1.2\n";exit}
13 "NAME" 15 "NAME"
14} 16}
15expect {
16 timeout {puts "TESTING ERROR 0\n";exit}
17 "SYNOPSIS"
18}
19after 100 17after 100
20puts "\nall done\n" 18puts "\nall done\n"