summaryrefslogtreecommitdiff
path: root/tests/mv/dir-file
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-03 16:44:05 +0000
committerJim Meyering <jim@meyering.net>2000-02-03 16:44:05 +0000
commitafed58448d6e2c3ed94fd75bfbe5c6b1c6af59f5 (patch)
treee51e4ec03a2abea770b22d195f5a46c735c9b69d /tests/mv/dir-file
parent83b733230363563c363eb43ad9ebd7f5cf5ce0fc (diff)
downloadcoreutils-afed58448d6e2c3ed94fd75bfbe5c6b1c6af59f5.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/mv/dir-file')
-rwxr-xr-xtests/mv/dir-file3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mv/dir-file b/tests/mv/dir-file
index 15ac30143..2ed2b71b6 100755
--- 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