[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test failures on AIX 5.3: misc/sort-merge, test-copy-acl.sh
From: |
Jim Meyering |
Subject: |
Re: test failures on AIX 5.3: misc/sort-merge, test-copy-acl.sh |
Date: |
Sat, 02 Aug 2008 17:56:07 +0200 |
Ralf Wildenhues <address@hidden> wrote:
> I'm getting the following test failures on AIX 5.3.
> They are using current git coreutils and gnulib, and
> gettext 0.16.1 IIRC. The UNKNOWN-dirty is because I
> must like it that way, I guess. ;-)
Thanks for the report!
...
> nmerge-yes...
> nmerge-no...
> sort-merge: test nmerge-no: stderr mismatch, comparing nmerge-no.E (actual)
> and nmerge-no.1 (expected)
> *** nmerge-no.E Sat Aug 2 14:36:08 2008
> --- nmerge-no.1 Sat Aug 2 14:36:08 2008
> ***************
> *** 1 ****
> ! sort: cannot create temporary file: : No such file or directory
> --- 1 ----
> ! sort: cannot create temporary file
> batch-size...
> Can't remove directory
> /home/rwild/coreutils/build-powerpc-ibm-aix5.3.0.0/tests/sort-merge.tmp-1XVm:
> Device busy at /usr/opt/perl5/lib/5.8.2/File/Temp.pm line 858
> gmake[2]: *** [test-suite.log] Error 1
Sounds like a file is being left open, and
that inhibits directory removal on that system.
Does this change help? It makes sort use a *hopefully*-nonexistent
temporary directory that is not "."-relative.
diff --git a/tests/misc/sort-merge b/tests/misc/sort-merge
index fb7c63c..27b014b 100755
--- a/tests/misc/sort-merge
+++ b/tests/misc/sort-merge
@@ -29,8 +29,9 @@ my @inputs = (+(map{{IN=> {"empty$_"=> ''}}}1..3), {IN=>
{foo=> "foo\n"}});
my $big_input = "aaa\n" x 1024;
-# don't need to check for existence, since we're running in a temp dir
-my $badtmp = 'does/not/exist';
+my $badtmp = "/does/not/exist-$$";
+-e $badtmp
+ and (warn "skipping this test: $badtmp exists"), exit 77;
# 2^64+1
my $bigint = "18446744073709551617";
If that doesn't help, please remove 'nmerge-no's ERR_SUBST line and
rerun the test -- that might reveal a more useful diagnostic in the diffs.
---------------
Regarding the ACL failure,
I don't have access to any AIX systems, so if you
can give a little more info, that'd help.
I.e., in gnulib-tests/test-sameacls.c, there are two blocks:
#elif HAVE_ACLX_GET /* AIX */
...
#elif HAVE_STATACL /* older AIX */
...
Knowing which you're using and where/how (lineno/errno value)
it's failing would help.