tests: fix usage message in 'mktempd_'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 7 Jun 2011 11:55:57 +0000 (13:55 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 7 Jun 2011 13:08:41 +0000 (15:08 +0200)
* tests/init.sh (mktempd_): In the usage message, use literal
'mktempd_', not '$ME' (which is even undefined), as the name of
the subroutine.

ChangeLog
tests/init.sh

index c706c10..65179ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-06-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
+       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  <stefano.lattarini@gmail.com>
+
        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_'
index b5379fa..3ebc70f 100644 (file)
@@ -404,7 +404,7 @@ mktempd_ ()
 {
   case $# in
   2);;
-  *) fail_ "Usage: $ME DIR TEMPLATE";;
+  *) fail_ "Usage: mktempd_ DIR TEMPLATE";;
   esac
 
   destdir_=$1