Skip to content

Commit

Permalink
fix: fixed diagnostics tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simonkowallik committed May 27, 2023
1 parent ead4975 commit 64e7e13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion tests/test_diagnostics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
[[ $(./ihac-diagnostics 245245245 2>&1) == "Error: <qkviewID> not found." ]] || exit 1
4 changes: 0 additions & 4 deletions tests/test_diagnostics_bigiq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 64e7e13

Please sign in to comment.