Testsuite fixes.

* paxutils: Update.
* src/unlink.c (flush_deferred_unlinks): OpenSolaris sets EEXIST
instead of ENOTEMPTY if trying to remove a non-empty directory.
* tests/numeric.at: Avoid using awk -v: some older awks don't support
that option.  Also fix environment variable usage.
* tests/onetop05.at: Skip test if unable to set initial directory
mode bits.
* tests/sparse06.at: Use --quiet option.
This commit is contained in:
Sergey Poznyakoff
2016-03-18 22:18:58 +02:00
parent 6ac0dd1d73
commit c0fb0740fa
5 changed files with 13 additions and 7 deletions
+2 -3
View File
@@ -23,7 +23,7 @@ AT_KEYWORDS([sparse sparse06])
m4_define([check_pattern],[
rm -rf out archive.tar smallsparse && mkdir out
genfile --sparse --file smallsparse $1
genfile --sparse --quiet --file smallsparse $1
tar -cSf archive.tar smallsparse
tar -xf archive.tar -C out
cmp smallsparse out/smallsparse
@@ -50,7 +50,6 @@ check_pattern([10M DEF 20M GHI 30M JKL 40M])
],
[0],,
[genfile: created file is not sparse
],,,[posix])
[],,,[posix])
AT_CLEANUP