diff options
author | Jim Meyering <jim@meyering.net> | 2000-09-05 12:02:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-09-05 12:02:40 +0000 |
commit | 9fecbb310534d836c126fe16f031ee985a08846d (patch) | |
tree | 5114a4fe6a3fe3ed03a683f4843e64e61d81dac9 /tests | |
parent | b0126126d29f2f5518cae3f53c10fec1e1d658e4 (diff) | |
download | coreutils-9fecbb310534d836c126fe16f031ee985a08846d.tar.xz |
Remove the `cp -bdl symlink foo' case.
since it's no longer portable (hard link to a symlink).
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cp/same-file | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file index 0a799b141..aeec21022 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -39,8 +39,11 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do -l -dl -fl -dfl -bl -bdl -bfl -bdfl; do case $args$options in # These tests are not portable. + # They all involve making a hard link to a symbolic link. 'symlink foo'-dfl) continue;; + 'symlink foo'-bdl) + continue;; 'symlink foo'-bdfl) continue;; 'sl1 sl2'-dfl) @@ -125,7 +128,6 @@ cat <<\EOF > $expected 0 -dl (foo symlink -> foo) 0 -fl (foo symlink -> foo) 0 -bl (foo symlink -> foo) -0 -bdl (foo -> foo foo.~1~ symlink -> foo) symlink-loop symlink-loop 0 -bfl (foo symlink -> foo) 1 [cp: `foo' and `foo' are the same file] (foo) |