From 00cb236addce37b13ed7d30093c8d47fba70e787 Mon Sep 17 00:00:00 2001 From: smitsohu Date: Thu, 10 Mar 2022 16:42:57 +0100 Subject: fix testing --- test/fnetfilter/template.exp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'test/fnetfilter/template.exp') 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 send -- "fnetfilter test2.net,icmp-type,destination-unreachable,time-exceeded,echo-request\r" expect { timeout {puts "TESTING ERROR 12\n";exit} - "cannot open test2.net," + "Error:" +} +expect { + timeout {puts "TESTING ERROR 13\n";exit} + "is an invalid filename" } after 100 send -- "fnetfilter test3.net,44 outfile\r" expect { - timeout {puts "TESTING ERROR 13\n";exit} + timeout {puts "TESTING ERROR 14\n";exit} "invalid template argument on line 1" } after 100 -- cgit v1.2.3-54-g00ecf