Add test for ln subscript error.

This commit is contained in:
Jim Meyering committed 2004-06-25 07:14:08 +00:00
1 parent 90f1d430c9
commit 9338e5d901
1 file changed
+6
+6
View File
@@ -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