summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ln/target-12
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ln/target-1 b/tests/ln/target-1
index 09295bc4b..91eb45da0 100755
--- a/tests/ln/target-1
+++ b/tests/ln/target-1
@@ -1,5 +1,7 @@
#!/bin/sh
# Before coreutils-4.5.3, --target-dir didn't work with one file.
+# It would create the desired link, but would fail with a diagnosis like this:
+# ln: `d/.': cannot overwrite directory
# Based on a test case from Dmitry V. Levin.
if test "$VERBOSE" = yes; then