aboutsummaryrefslogtreecommitdiffstats
path: root/test/fnetfilter/template.exp
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2022-03-10 16:42:57 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2022-03-10 16:42:57 +0100
commit00cb236addce37b13ed7d30093c8d47fba70e787 (patch)
tree67e6f51985fd92aa6ce964e7fe12c27a5a24436c /test/fnetfilter/template.exp
parentfix testing (diff)
downloadfirejail-00cb236addce37b13ed7d30093c8d47fba70e787.tar.gz
firejail-00cb236addce37b13ed7d30093c8d47fba70e787.tar.zst
firejail-00cb236addce37b13ed7d30093c8d47fba70e787.zip
fix testing
Diffstat (limited to 'test/fnetfilter/template.exp')
-rwxr-xr-xtest/fnetfilter/template.exp8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/fnetfilter/template.exp b/test/fnetfilter/template.exp
index 216762325..2c5dba920 100755
--- a/test/fnetfilter/template.exp
+++ b/test/fnetfilter/template.exp
@@ -66,13 +66,17 @@ after 100
66send -- "fnetfilter test2.net,icmp-type,destination-unreachable,time-exceeded,echo-request\r" 66send -- "fnetfilter test2.net,icmp-type,destination-unreachable,time-exceeded,echo-request\r"
67expect { 67expect {
68 timeout {puts "TESTING ERROR 12\n";exit} 68 timeout {puts "TESTING ERROR 12\n";exit}
69 "cannot open test2.net," 69 "Error:"
70}
71expect {
72 timeout {puts "TESTING ERROR 13\n";exit}
73 "is an invalid filename"
70} 74}
71after 100 75after 100
72 76
73send -- "fnetfilter test3.net,44 outfile\r" 77send -- "fnetfilter test3.net,44 outfile\r"
74expect { 78expect {
75 timeout {puts "TESTING ERROR 13\n";exit} 79 timeout {puts "TESTING ERROR 14\n";exit}
76 "invalid template argument on line 1" 80 "invalid template argument on line 1"
77} 81}
78after 100 82after 100