mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-09-27 10:34:13 +00:00
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:
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user