diff options
Diffstat (limited to 'test/utils')
-rwxr-xr-x | test/utils/protocol-print.exp | 24 | ||||
-rwxr-xr-x | test/utils/utils.sh | 3 |
2 files changed, 0 insertions, 27 deletions
diff --git a/test/utils/protocol-print.exp b/test/utils/protocol-print.exp deleted file mode 100755 index f24afc703..000000000 --- a/test/utils/protocol-print.exp +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2023 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | set timeout 10 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | send -- "firejail --name=test\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 0\n";exit} | ||
13 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" | ||
14 | } | ||
15 | sleep 2 | ||
16 | |||
17 | spawn $env(SHELL) | ||
18 | send -- "firejail --protocol.print=test\r" | ||
19 | expect { | ||
20 | timeout {puts "TESTING ERROR 1\n";exit} | ||
21 | "unix,inet,inet6" | ||
22 | } | ||
23 | after 100 | ||
24 | puts "\nall done\n" | ||
diff --git a/test/utils/utils.sh b/test/utils/utils.sh index 4937cf459..9ff4048ef 100755 --- a/test/utils/utils.sh +++ b/test/utils/utils.sh | |||
@@ -64,9 +64,6 @@ echo "TESTING: dns.print (test/utils/dns-print.exp)" | |||
64 | echo "TESTING: seccomp.print (test/utils/seccomp-print.exp)" | 64 | echo "TESTING: seccomp.print (test/utils/seccomp-print.exp)" |
65 | ./seccomp-print.exp | 65 | ./seccomp-print.exp |
66 | 66 | ||
67 | echo "TESTING: protocol.print (test/utils/protocol-print.exp)" | ||
68 | ./protocol-print.exp | ||
69 | |||
70 | echo "TESTING: shutdown (test/utils/shutdown.exp)" | 67 | echo "TESTING: shutdown (test/utils/shutdown.exp)" |
71 | ./shutdown.exp | 68 | ./shutdown.exp |
72 | 69 | ||