Tests - eventscripts - add output for "not implemented" in ctdb stub
authorMartin Schwenke <martin@meltin.net>
Mon, 22 Aug 2011 05:58:23 +0000 (15:58 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 30 Aug 2011 06:51:55 +0000 (16:51 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/eventscripts/stubs/ctdb

index 24dfff855f211f1e9d051557d9426a26207662eb..1c26a305882d096242ee4afabba0e14b784f27cb 100755 (executable)
@@ -54,6 +54,7 @@ setup_pstore ()
 # For testing backward compatibility...
 for i in $CTDB_NOT_IMPLEMENTED ; do
     if [ "$i" = "$1" ] ; then
+       echo "${prog}: command \"$i\" not implemented" >&2
        usage
     fi
 done