diff --git a/tests/install/create-leading b/tests/install/create-leading index f421a259a..8bcba57ae 100755 --- a/tests/install/create-leading +++ b/tests/install/create-leading @@ -33,6 +33,9 @@ fail=0 cd $dir file=file echo foo > $file + +# Before 4.0q, this would mistakenly create $file, not `dest' +# in no-dir1/no-dir2/. ginstall -D $file no-dir1/no-dir2/dest || fail=1 test -d no-dir1/no-dir2 || fail=1 test -r no-dir1/no-dir2/dest || fail=1