bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils fails on check for "mv": FAIL: no-target-dir


From: Paul Eggert
Subject: Re: coreutils fails on check for "mv": FAIL: no-target-dir
Date: Tue, 15 Aug 2006 22:24:26 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Thanks for the bug report.  What is the output of the following Bourne
shell commands?  This will give us a bit more information about the
failure.

   cd tests/mv
   VERBOSE=yes make TESTS=no-target-dir check

Also, what is the output of the following?

   cd tests/mv
   rm -fr d empty
   mkdir -p d/sub empty
   strace -o tr ../../src/mv -fT d empty
   cat tr

On my Debian stable x86 box, the "cat tr" ends in output that looks like
this:

   lstat64("d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
   lstat64("empty", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
   rename("d", "empty")                    = 0
   close(1)                                = 0
   exit_group(0)                           = ?

I'm guessing that the 'rename' system call isn't working correctly on
your host, and that we need to work around the bug, but it's just a
guess.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]