]> git.ipfire.org Git - thirdparty/automake.git/commit
install-sh: a slightly better diagnostic, and tests enhancements
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 25 Dec 2013 23:33:05 +0000 (00:33 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 25 Dec 2013 23:42:09 +0000 (00:42 +0100)
commit3dd26cf0809384a80586113656fad0a4983a2a26
tree67328b3a8a531da0207199f0dcf8c6ca4f90f294
parent222337e60bfc87456773a4c7cbbbd3192fde956d
install-sh: a slightly better diagnostic, and tests enhancements

* lib/install-sh: When called with no non-option arguments and the '-t'
option with an argument that is not an existing directory, have the
diagnostic output complain about the lack of required arguments rather
than about the bad argument passed to '-t'.
* t/install-sh-unittests.sh: Enhance to also check diagnostic printed
in cases of expected failure.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/install-sh
t/install-sh-unittests.sh