From 9afa0de1d42090bc593bfaf7e0e7da22c9741a27 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Fri, 10 Jun 2011 14:24:49 +0100 Subject: [PATCH] htools live test: test instance selection as well Signed-off-by: Guido Trotter <ultrotter@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- htools/live-test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htools/live-test.sh b/htools/live-test.sh index 510bb1734..c47766f0c 100755 --- a/htools/live-test.sh +++ b/htools/live-test.sh @@ -85,9 +85,11 @@ echo "$FI 2 2 2 2" > $T/util.data echo Testing hbal/text with bad utilization data echo "$FI 2 a 3b" > $T/util.data ! ./hbal -t$T/$RAPI.data $GROUP -U $T/util.data -echo Testing hbal/text with instance exclusion +echo Testing hbal/text with instance exclusion/selection ./hbal -t$T/$RAPI.data $GROUP --exclude-instances=$FI +./hbal -t$T/$RAPI.data $GROUP --select-instances=$FI ! ./hbal -t$T/$RAPI.data --exclude-instances=no_such_instance +! ./hbal -t$T/$RAPI.data --select-instances=no_such_instance echo Testing hbal/text with tag exclusion ./hbal -t $T/$RAPI.data $GROUP --exclusion-tags=no_such_tag echo Testing hbal multiple backend failure -- GitLab