summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-02-21 11:33:09 +0000
committerJim Meyering <jim@meyering.net>1998-02-21 11:33:09 +0000
commitafa328c54e085dd8b17325d8497248520f3670bd (patch)
treefb98c8e83ddedcfe4575a742d3b67f024d8ca685 /tests/mv
parentc66e967d702eaebbc81a628251752517c291581e (diff)
downloadcoreutils-afa328c54e085dd8b17325d8497248520f3670bd.tar.xz
.
Diffstat (limited to 'tests/mv')
-rwxr-xr-xtests/mv/mknod-19
-rwxr-xr-xtests/mv/mv-special-118
2 files changed, 18 insertions, 9 deletions
diff --git a/tests/mv/mknod-1 b/tests/mv/mknod-1
deleted file mode 100755
index 1af1f5c78..000000000
--- a/tests/mv/mknod-1
+++ /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
index 000000000..0cc9f1f7b
--- /dev/null
+++ b/tests/mv/mv-special-1
@@ -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