summaryrefslogtreecommitdiff
path: root/tests/mv/to-symlink
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-09-02 07:55:32 +0000
committerJim Meyering <jim@meyering.net>2000-09-02 07:55:32 +0000
commit976d5c8a3fa839d1be8b6c4a79dd845fdbe32cdc (patch)
tree8eac6a8c0dcd2df23b04bcbba31099694670a8aa /tests/mv/to-symlink
parent3b023926b142ea9f437d6c387a2773e11b27f4c8 (diff)
downloadcoreutils-976d5c8a3fa839d1be8b6c4a79dd845fdbe32cdc.tar.xz
add basic test
Diffstat (limited to 'tests/mv/to-symlink')
-rwxr-xr-xtests/mv/to-symlink3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/mv/to-symlink b/tests/mv/to-symlink
index 0cade1b3d..354a10763 100755
--- a/tests/mv/to-symlink
+++ b/tests/mv/to-symlink
@@ -37,6 +37,9 @@ fi
# before copying.
mv $file $rem_symlink || fail=1
+# Make sure $file is gone.
+test -f $file && fail=1
+
# Make sure $rem_file is unmodified.
test `cat $rem_file` = remote || fail=1