diff --git a/tests/ln/misc b/tests/ln/misc index 3a9d8d9bf..cff452ba7 100755 --- a/tests/ln/misc +++ b/tests/ln/misc @@ -124,6 +124,12 @@ for cmd in ln cp mv ginstall; do test -f a.orig || fail=1 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