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:
83b7332
)
*** empty log message ***
author
Jim Meyering
<jim@meyering.net>
Thu, 3 Feb 2000 16:44:05 +0000
(16:44 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 3 Feb 2000 16:44:05 +0000
(16:44 +0000)
tests/mv/dir-file
patch
|
blob
|
history
diff --git
a/tests/mv/dir-file
b/tests/mv/dir-file
index 15ac30143050aef8cda40a51209eba26e6c24252..2ed2b71b64b4ce4b13d80ead5610aa4a9c86dd48 100755
(executable)
--- a/
tests/mv/dir-file
+++ b/
tests/mv/dir-file
@@
-13,7
+13,7
@@
trap "cd $pwd; rm -rf $tmp" 0 1 2 3 15
framework_failure=0
mkdir $tmp || framework_failure=1
cd $tmp
-mkdir
dir
dir/file || framework_failure=1
+mkdir
-p
dir/file || framework_failure=1
> file || framework_failure=1
if test $framework_failure = 1; then
@@
-21,6
+21,7
@@
if test $framework_failure = 1; then
exit 1
fi
+# These should both fail, but until fileutils-4.0q only the second one did.
mv dir file && fail=1
mv file dir && fail=1