On Fri, May 10, 2013 at 1:39 PM, Klaus Aehlig <[email protected]> wrote:

> While the multiple-tags test was added to verify that coloring is done
> only after node selection (otherwise it wouldn't be possible to get in
> both cases a single reboot group), it can easily be extended to also
> verify that the correct nodes are selected by --node-tags.
>
> Signed-off-by: Klaus Aehlig <[email protected]>
> ---
>  test/hs/shelltests/htools-hroller.test | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/test/hs/shelltests/htools-hroller.test
> b/test/hs/shelltests/htools-hroller.test
> index 36cf412..d2499d7 100644
> --- a/test/hs/shelltests/htools-hroller.test
> +++ b/test/hs/shelltests/htools-hroller.test
> @@ -16,11 +16,11 @@ node-01-001
>  >>>= 0
>
>  ./test/hs/hroller --node-tags=red --no-headers -t
> $TESTDATA_DIR/multiple-tags.data
> ->>>/^node-01-00.,node-01-00.,node-01-001$/
> +>>>/^node-01-00[45],node-01-00[45],node-01-001$/
>  >>>= 0
>
>  ./test/hs/hroller --node-tags=blue --no-headers -t
> $TESTDATA_DIR/multiple-tags.data
> ->>>/^node-01-00.,node-01-00.,node-01-00.$/
> +>>>/^node-01-00[246],node-01-00[246],node-01-00[246]$/
>  >>>= 0
>
>  ./test/hs/hroller --no-headers --offline-maintenance -t
> $TESTDATA_DIR/hroller-online.data
>

LGTM

Thanks,

Guido

Reply via email to