diff --git a/tests/test_diagnostics.sh b/tests/test_diagnostics.sh index 0162016..7680cd7 100755 --- a/tests/test_diagnostics.sh +++ b/tests/test_diagnostics.sh @@ -22,4 +22,4 @@ qkviewid=$(<./qkviewid) # check behaviour when qkview does not exist -[[ $(./ihac-diagnostics 245245245 2>&1) == "Error: qkview ID not found." ]] || exit 1 \ No newline at end of file +[[ $(./ihac-diagnostics 245245245 2>&1) == "Error: not found." ]] || exit 1 \ No newline at end of file diff --git a/tests/test_diagnostics_bigiq.sh b/tests/test_diagnostics_bigiq.sh index 7a51163..97f3050 100755 --- a/tests/test_diagnostics_bigiq.sh +++ b/tests/test_diagnostics_bigiq.sh @@ -19,7 +19,3 @@ bigiq_qkviewid=$(<./bigiq_qkviewid) # check if valid xml is returned ./ihac diagnostics --xml $bigiq_qkviewid | xmllint - >/dev/null 2>&1 || exit 1 - - -# check behaviour when qkview does not exist -[[ $(./ihac-diagnostics 245245245 2>&1) == "Error: qkview ID not found." ]] || exit 1