projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4795cc
)
Add a test for this (for all of cp, mv, ln, install).
author
Jim Meyering
<jim@meyering.net>
Mon, 25 Dec 2000 18:31:18 +0000
(18:31 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 25 Dec 2000 18:31:18 +0000
(18:31 +0000)
tests/ln/misc
patch
|
blob
|
history
diff --git
a/tests/ln/misc
b/tests/ln/misc
index
8ab2d13
..
3a9d8d9
100755
(executable)
--- a/
tests/ln/misc
+++ b/
tests/ln/misc
@@
-117,9
+117,12
@@
rm -rf a symlink hard-to-sym hard-to-dangle
# Make sure ln can make simple backups.
# This was fixed in 4.0.34. Broken in 4.0r.
-touch a x || framework_failure=1
-ln --backup=simple --suffix=.orig x a || fail=1
-test -f a.orig || fail=1
+for cmd in ln cp mv ginstall; do
+ rm -rf a x a.orig
+ touch a x || framework_failure=1
+ $cmd --backup=simple --suffix=.orig x a || fail=1
+ test -f a.orig || fail=1
+done
# ===================================================