diff options
-rw-r--r-- | test/Makefile.in | 1 | ||||
-rwxr-xr-x | test/sysutils/xz.exp | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 8472b43cb..ef1ca73bc 100644 --- a/test/Makefile.in +++ b/test/Makefile.in | |||
@@ -3,7 +3,6 @@ TESTS=$(patsubst %/,%,$(wildcard */)) | |||
3 | .PHONY: $(TESTS) | 3 | .PHONY: $(TESTS) |
4 | 4 | ||
5 | $(TESTS): | 5 | $(TESTS): |
6 | echo $(TESTS) | ||
7 | cd $@ && ./$@.sh 2>&1 | tee $@.log | 6 | cd $@ && ./$@.sh 2>&1 | tee $@.log |
8 | cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log | 7 | cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log |
9 | 8 | ||
diff --git a/test/sysutils/xz.exp b/test/sysutils/xz.exp index a0ab917c7..074b90076 100755 --- a/test/sysutils/xz.exp +++ b/test/sysutils/xz.exp | |||
@@ -3,7 +3,7 @@ | |||
3 | # Copyright (C) 2014-2020 Firejail Authors | 3 | # Copyright (C) 2014-2020 Firejail Authors |
4 | # License GPL v2 | 4 | # License GPL v2 |
5 | 5 | ||
6 | set timeout 15 | 6 | set timeout 60 |
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
@@ -13,6 +13,9 @@ sleep 1 | |||
13 | send -- "firejail /usr/bin/xz -c /usr/bin/firejail > firejail_t2\r" | 13 | send -- "firejail /usr/bin/xz -c /usr/bin/firejail > firejail_t2\r" |
14 | sleep 1 | 14 | sleep 1 |
15 | 15 | ||
16 | send -- "md5sum firejail_t1 firejail_t2; ls -l firejail_t1 firejail_t2\r" | ||
17 | sleep 1 | ||
18 | |||
16 | send -- "diff -s firejail_t1 firejail_t2\r" | 19 | send -- "diff -s firejail_t1 firejail_t2\r" |
17 | expect { | 20 | expect { |
18 | timeout {puts "TESTING ERROR 1\n";exit} | 21 | timeout {puts "TESTING ERROR 1\n";exit} |