Fix shelltests for ganeti-*
authorMichael Hanselmann <hansmi@google.com>
Mon, 24 Sep 2012 14:06:45 +0000 (16:06 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 25 Sep 2012 11:14:53 +0000 (13:14 +0200)
They were never run.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

test/cli-test.bash
test/ganeti-cli.test

index 9c1f1fa..f768a5a 100755 (executable)
@@ -4,5 +4,5 @@ export SCRIPTS=${TOP_BUILDDIR:-.}/scripts
 export DAEMONS=${TOP_BUILDDIR:-.}/daemons
 
 shelltest $SHELLTESTARGS \
-  ${TOP_SRCDIR:-.}/test/gnt-*.test \
+  ${TOP_SRCDIR:-.}/test/{gnt,ganeti}-*.test \
   -- --hide-successes
index 054a618..25c2c6f 100644 (file)
@@ -1,36 +1,36 @@
 # test the various gnt-commands for common options
-$SCRIPTS/ganeti-masterd --help
+$DAEMONS/ganeti-masterd --help
 >>>/Usage:/
 >>>2
 >>>= 0
-$SCRIPTS/ganeti-masterd --version
+$DAEMONS/ganeti-masterd --version
 >>>/^ganeti-/
 >>>2
 >>>= 0
 
-$SCRIPTS/ganeti-noded --help
+$DAEMONS/ganeti-noded --help
 >>>/Usage:/
 >>>2
 >>>= 0
-$SCRIPTS/ganeti-noded --version
+$DAEMONS/ganeti-noded --version
 >>>/^ganeti-/
 >>>2
 >>>= 0
 
-$SCRIPTS/ganeti-rapi --help
+$DAEMONS/ganeti-rapi --help
 >>>/Usage:/
 >>>2
 >>>= 0
-$SCRIPTS/ganeti-rapi --version
+$DAEMONS/ganeti-rapi --version
 >>>/^ganeti-/
 >>>2
 >>>= 0
 
-$SCRIPTS/ganeti-watcher --help
+$DAEMONS/ganeti-watcher --help
 >>>/Usage:/
 >>>2
 >>>= 0
-$SCRIPTS/ganeti-watcher --version
+$DAEMONS/ganeti-watcher --version
 >>>/^ganeti-/
 >>>2
 >>>= 0