summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ln/misc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ln/misc b/tests/ln/misc
index 3a9d8d9bf..cff452ba7 100755
--- a/tests/ln/misc
+++ b/tests/ln/misc
@@ -125,6 +125,12 @@ for cmd in ln cp mv ginstall; do
done
# ===================================================
+# With coreutils-5.2.1, this would mistakenly access argv[1][-1].
+# I'm including it here, in case some day programs like valgrind detect that.
+# Purify probably would have done so.
+ln foo '' 2> /dev/null
+
+# ===================================================
if test $framework_failure = 1; then
echo 'failure in testing framework' 1>&2