bug-coreutils
[Top][All Lists]
Advanced

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

cp test that fails


From: Alfred M. Szmidt
Subject: cp test that fails
Date: Wed, 18 Jun 2003 02:58:14 +0200

Here is one more test that fails on GNU/Hurd, this one is for cp's
same-file test.

*** expected-28578      Wed Jun 18 02:35:42 2003
--- actual-28578        Wed Jun 18 02:35:42 2003
***************
*** 22,57 ****
  1 -df [cp: `symlink' and `foo' are the same file] (foo symlink -> foo)
  1 --rem [cp: `symlink' and `foo' are the same file] (foo symlink -> foo)
  1 -b [cp: `symlink' and `foo' are the same file] (foo symlink -> foo)
! 0 -bd (foo -> foo foo.~1~ symlink -> foo) symlink-loop symlink-loop
  1 -bf [cp: `symlink' and `foo' are the same file] (foo symlink -> foo)
! 0 -bdf (foo -> foo foo.~1~ symlink -> foo) symlink-loop symlink-loop
! 0 -l (foo symlink -> foo)
! 0 -dl (foo symlink -> foo)
! 0 -fl (foo symlink -> foo)
! 0 -bl (foo symlink -> foo)
! 0 -bfl (foo symlink -> foo)
  
  1 [cp: `foo' and `foo' are the same file] (foo)
! 1 -d [cp: `foo' and `foo' are the same file] (foo)
  1 -f [cp: `foo' and `foo' are the same file] (foo)
! 1 -df [cp: `foo' and `foo' are the same file] (foo)
  1 --rem [cp: `foo' and `foo' are the same file] (foo)
! 1 -b [cp: `foo' and `foo' are the same file] (foo)
  1 -bd [cp: `foo' and `foo' are the same file] (foo)
! 0 -bf (foo foo.~1~)
! 0 -bdf (foo foo.~1~)
! 0 -l (foo)
  0 -dl (foo)
! 0 -fl (foo)
  0 -dfl (foo)
! 0 -bl (foo)
  0 -bdl (foo)
! 0 -bfl (foo foo.~1~)
! 0 -bdfl (foo foo.~1~)
  
! 1 [cp: `sl1' and `sl2' are the same file] (foo sl1 -> foo sl2 -> foo)
! 0 -d (foo sl1 -> foo sl2 -> foo)
! 1 -f [cp: `sl1' and `sl2' are the same file] (foo sl1 -> foo sl2 -> foo)
  0 -df (foo sl1 -> foo sl2 -> foo)
  0 --rem (foo sl1 -> foo sl2)
  0 -b (foo sl1 -> foo sl2 sl2.~1~ -> foo)
--- 22,57 ----
  1 -df [cp: `symlink' and `foo' are the same file] (foo symlink -> foo)
  1 --rem [cp: `symlink' and `foo' are the same file] (foo symlink -> foo)
  1 -b [cp: `symlink' and `foo' are the same file] (foo symlink -> foo)
! 0 -bd (foo -> foo foo.~1~ 02:35 symlink -> foo) symlink-loop symlink-loop
  1 -bf [cp: `symlink' and `foo' are the same file] (foo symlink -> foo)
! 0 -bdf (foo -> foo 02:35 foo.~1~ symlink -> foo) symlink-loop symlink-loop
! 0 -l (02:35 foo symlink -> foo)
! 0 -dl (foo 02:35 symlink -> foo)
! 0 -fl (02:35 foo symlink -> foo)
! 0 -bl (foo 02:35 symlink -> foo)
! 0 -bfl (02:35 foo symlink -> foo)
  
  1 [cp: `foo' and `foo' are the same file] (foo)
! 1 -d [cp: `foo' and `foo' are the same file] (02:35 foo)
  1 -f [cp: `foo' and `foo' are the same file] (foo)
! 1 -df [cp: `foo' and `foo' are the same file] (02:35 foo)
  1 --rem [cp: `foo' and `foo' are the same file] (foo)
! 1 -b [cp: `foo' and `foo' are the same file] (02:35 foo)
  1 -bd [cp: `foo' and `foo' are the same file] (foo)
! 0 -bf (02:35 foo foo.~1~)
! 0 -bdf (foo 02:35 foo.~1~)
! 0 -l (02:35 foo)
  0 -dl (foo)
! 0 -fl (02:35 foo)
  0 -dfl (foo)
! 0 -bl (02:35 foo)
  0 -bdl (foo)
! 0 -bfl (02:35 foo 02:35 foo.~1~)
! 0 -bdfl (02:35 foo 02:35 foo.~1~)
  
! 1 [cp: `sl1' and `sl2' are the same file] (02:35 foo sl1 -> foo sl2 -> foo)
! 0 -d (foo 02:35 sl1 -> foo sl2 -> foo)
! 1 -f [cp: `sl1' and `sl2' are the same file] (foo sl1 -> foo 02:35 sl2 -> foo)
  0 -df (foo sl1 -> foo sl2 -> foo)
  0 --rem (foo sl1 -> foo sl2)
  0 -b (foo sl1 -> foo sl2 sl2.~1~ -> foo)
***************
*** 81,83 ****
--- 81,84 ----
  0 -bfl (foo hardlink)
  0 -bdfl (foo hardlink)
  
+ expected-28578 actual-28578 differ: char 1142, line 25
FAIL: same-file




reply via email to

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