Skip to content

Commit

Permalink
increate timeout in xz.dec
Browse files Browse the repository at this point in the history
for reason it seems to timeout sometimes in github CI
  • Loading branch information
reinerh committed Oct 24, 2020
1 parent 8ec7724 commit 527b680
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 4 additions & 1 deletion test/sysutils/xz.exp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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}
Expand Down

0 comments on commit 527b680

Please sign in to comment.