Hi!

When compiling fileutils-4.0 and running "make check", the cp/same-file
test fails because it compares its output to the expected output.
Unfortunatly, when CDPATH is set, on some systems "cd" outputs the
directory, and this output gets captured, too. The obvious fix is:

*** tests/cp/same-file.orig     Sat Aug 29 20:04:46 1998
--- tests/cp/same-file  Fri Jul 21 13:13:21 2000
***************
*** 43,49 ****
      esac
      rm -rf dir
      mkdir dir
!     cd dir
      echo $contents > foo
      case "$args" in *symlink*) ln -s foo symlink ;; esac
      case "$args" in *hardlink*) ln foo hardlink ;; esac
--- 43,49 ----
      esac
      rm -rf dir
      mkdir dir
!     cd dir >/dev/null
      echo $contents > foo
      case "$args" in *symlink*) ln -s foo symlink ;; esac
      case "$args" in *hardlink*) ln foo hardlink ;; esac

(or, an "unset CDPATH" before the exec).

Bye, Andy

-------------------------------------------------------------------------------
   Andreas Ley       !  "Even when you're   !  Email: [EMAIL PROTECTED]
   Goethestr. 27     !   a genius, life is  !  Home:  +49 721 84 10 36
   76135 Karlsruhe   !   a mystery!"        !  RZ:    +49 721 608 6341 <- NEU!
   Germany           !  Doogie Howser, M.D. !  AKK:   +49 721 96 403 22

Reply via email to