diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-25 07:14:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-25 07:14:08 +0000 |
commit | 9338e5d901e68058449854ceae4e4dc6d157b001 (patch) | |
tree | d1228ee7317ccfd17894e8c0e0d74a7e93619836 /tests/ln | |
parent | 90f1d430c9d1774613c6aefdf02db2f5bf48a8d4 (diff) | |
download | coreutils-9338e5d901e68058449854ceae4e4dc6d157b001.tar.xz |
Add test for ln subscript error.
Diffstat (limited to 'tests/ln')
-rwxr-xr-x | tests/ln/misc | 6 |
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 |