diff options
author | 2023-01-19 07:56:13 -0500 | |
---|---|---|
committer | 2023-01-19 07:56:13 -0500 | |
commit | f3d548ca370c32c1df97628a2117cd79aae6f710 (patch) | |
tree | 1e36d0492f380b6ae7636ddbf296492c825f7775 /test | |
parent | cleanup (diff) | |
download | firejail-f3d548ca370c32c1df97628a2117cd79aae6f710.tar.gz firejail-f3d548ca370c32c1df97628a2117cd79aae6f710.tar.zst firejail-f3d548ca370c32c1df97628a2117cd79aae6f710.zip |
cleanup
Diffstat (limited to 'test')
-rwxr-xr-x | test/fs/whitelist-dev.exp | 2 | ||||
-rwxr-xr-x | test/fs/whitelist.exp | 2 | ||||
-rwxr-xr-x | test/sysutils/man.exp | 6 |
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 | |||
39 | send -- "exit\r" | 39 | send -- "exit\r" |
40 | sleep 1 | 40 | sleep 1 |
41 | 41 | ||
42 | send -- "firejail --private-dev --debug\r" | 42 | send -- "firejail --private-dev\r" |
43 | expect { | 43 | expect { |
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 | |||
33 | send -- "ln -s ~/fjtest-dir ~/fjtest-dir-lnk\r" | 33 | send -- "ln -s ~/fjtest-dir ~/fjtest-dir-lnk\r" |
34 | after 200 | 34 | after 200 |
35 | 35 | ||
36 | send -- "firejail --whitelist=~/fjtest-file --whitelist=~/fjtest-dir --debug\r" | 36 | send -- "firejail --whitelist=~/fjtest-file --whitelist=~/fjtest-dir\r" |
37 | expect { | 37 | expect { |
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 | |||
10 | send -- "firejail man firejail\r" | 10 | send -- "firejail man firejail\r" |
11 | expect { | 11 | expect { |
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 | } |
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 0\n";exit} | ||
17 | "SYNOPSIS" | ||
18 | } | ||
19 | after 100 | 17 | after 100 |
20 | puts "\nall done\n" | 18 | puts "\nall done\n" |