From 527b680a6384b0e6d2f91e710602115b28c56c8e Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 24 Oct 2020 23:53:44 +0200 Subject: increate timeout in xz.dec for reason it seems to timeout sometimes in github CI --- test/Makefile.in | 1 - 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 */)) .PHONY: $(TESTS) $(TESTS): - echo $(TESTS) cd $@ && ./$@.sh 2>&1 | tee $@.log cd $@ && grep -a TESTING $@.log && grep -a -L "TESTING ERROR" $@.log 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 @@ # Copyright (C) 2014-2020 Firejail Authors # License GPL v2 -set timeout 15 +set timeout 60 spawn $env(SHELL) match_max 100000 @@ -13,6 +13,9 @@ sleep 1 send -- "firejail /usr/bin/xz -c /usr/bin/firejail > firejail_t2\r" sleep 1 +send -- "md5sum firejail_t1 firejail_t2; ls -l firejail_t1 firejail_t2\r" +sleep 1 + send -- "diff -s firejail_t1 firejail_t2\r" expect { timeout {puts "TESTING ERROR 1\n";exit} -- cgit v1.2.3-70-g09d2