Fix the testsuite

* tests/sparse06.at: Don't use timeout: depending on the filesystem
mounted, current LA and lots of other factors, creation of archive can
take much more time than the expected 2 seconds.
This commit is contained in:
Sergey Poznyakoff
2016-03-21 20:33:26 +02:00
parent a3aa7003ea
commit 752b447f3e

View File

@@ -31,11 +31,10 @@ cmp smallsparse out/smallsparse
AT_TAR_CHECK([
AT_SEEKHOLE_PREREQ
AT_TIMEOUT_PREREQ
TAR_OPTIONS="$TAR_OPTIONS --hole-detection=seek"
genfile --sparse --file bigsparse 0 ABC 8G DEF
timeout 2 tar -cSf a bigsparse
tar -cSf a bigsparse
test $? -eq 0 || exit 1
check_pattern([0 ABC])