From fba324553f05901eebdd0884ffff74b04a06704a Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Tue, 7 Jun 2011 13:55:57 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ tests/init.sh | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c706c1071..65179ff31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 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 Before this patch, the only way offered by tests/init.sh to properly signal a hard error was the `framework_failure_' diff --git a/tests/init.sh b/tests/init.sh index b5379fa50..3ebc70f6e 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 -- 2.11.0