From: Stefano Lattarini Date: Tue, 7 Jun 2011 11:55:57 +0000 (+0200) Subject: tests: fix usage message in 'mktempd_' X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fba324553f05901eebdd0884ffff74b04a06704a;p=pspp tests: fix usage message in 'mktempd_' * tests/init.sh (mktempd_): In the usage message, use literal 'mktempd_', not '$ME' (which is even undefined), as the name of the subroutine. --- diff --git a/ChangeLog b/ChangeLog index c706c10711..65179ff315 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-06-07 Stefano Lattarini + + tests: fix usage message in 'mktempd_' + * tests/init.sh (mktempd_): In the usage message, use literal + 'mktempd_', not '$ME' (which is even undefined), as the name of + the subroutine. + 2011-06-07 Stefano Lattarini tests init: new function 'fatal_', for hard errors diff --git a/tests/init.sh b/tests/init.sh index b5379fa504..3ebc70f6e8 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -404,7 +404,7 @@ mktempd_ () { case $# in 2);; - *) fail_ "Usage: $ME DIR TEMPLATE";; + *) fail_ "Usage: mktempd_ DIR TEMPLATE";; esac destdir_=$1