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
+3
View File
@@ -124,6 +124,9 @@ flush_deferred_unlinks (bool force)
case ENOENT:
/* nothing to worry about */
break;
case EEXIST:
/* OpenSolaris >=10 sets EEXIST instead of ENOTEMPTY
if trying to remove a non-empty directory */
case ENOTEMPTY:
/* Keep the record in list, in the hope we'll
be able to remove it later */