aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-10-24 23:53:44 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-10-25 00:19:05 +0200
commit527b680a6384b0e6d2f91e710602115b28c56c8e (patch)
tree543b2d9ca2814dcbc3c641e99ea5762a03b41563 /test
parentinclude tests in rpm source tarball (diff)
downloadfirejail-527b680a6384b0e6d2f91e710602115b28c56c8e.tar.gz
firejail-527b680a6384b0e6d2f91e710602115b28c56c8e.tar.zst
firejail-527b680a6384b0e6d2f91e710602115b28c56c8e.zip
increate timeout in xz.dec
for reason it seems to timeout sometimes in github CI
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in1
-rwxr-xr-xtest/sysutils/xz.exp5
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
6set timeout 15 6set timeout 60
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
@@ -13,6 +13,9 @@ sleep 1
13send -- "firejail /usr/bin/xz -c /usr/bin/firejail > firejail_t2\r" 13send -- "firejail /usr/bin/xz -c /usr/bin/firejail > firejail_t2\r"
14sleep 1 14sleep 1
15 15
16send -- "md5sum firejail_t1 firejail_t2; ls -l firejail_t1 firejail_t2\r"
17sleep 1
18
16send -- "diff -s firejail_t1 firejail_t2\r" 19send -- "diff -s firejail_t1 firejail_t2\r"
17expect { 20expect {
18 timeout {puts "TESTING ERROR 1\n";exit} 21 timeout {puts "TESTING ERROR 1\n";exit}