]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sat, 21 Feb 1998 11:33:09 +0000 (11:33 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 21 Feb 1998 11:33:09 +0000 (11:33 +0000)
tests/mv/mknod-1 [deleted file]
tests/mv/mv-special-1 [new file with mode: 0755]

diff --git a/tests/mv/mknod-1 b/tests/mv/mknod-1
deleted file mode 100755 (executable)
index 1af1f5c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /bin/sh
-
-: ${MV=mv}
-
-. $srcdir/setup
-
-if test -z $other_partition_tmpdir; then
-  exit 77
-fi
diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1
new file mode 100755 (executable)
index 0000000..0cc9f1f
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+: ${MV=mv}
+: ${RM=rm}
+: ${MKNOD=mknod}
+
+. $srcdir/setup
+
+if test -z $other_partition_tmpdir; then
+  exit 77
+fi
+
+null=.mv-null
+$RM -f $null
+$MKNOD $null p
+$MV $null $other_partition_tmpdir
+
+$RM -rf $null $other_partition_tmpdir