Skip to content

Commit

Permalink
Update test output text for better understanding
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed Jun 3, 2024
1 parent 33d6a60 commit 7e5e86d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/check_imagestreams.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ show_all_imagestreams=$(dirname "$(readlink -f "$0")")/../show_all_imagestreams.
test $? -eq 1
"${PYTHON-python3}" "$check_imagestreams" "2.4"
test $? -eq 0
echo "Check full is output"

echo "This tests check if 'show_all_imagestreams.py' returns proper output"
output=$("${PYTHON-python3}" "$show_all_imagestreams")
test "${output#*"- latest -> 2.4"}" != "$output" && echo "latest found in the output"
test "${output#*"- 2.4 -> registry.redhat.io/rhscl/httpd-24-rhel7"}" != "$output" && echo "2.4 found in the output"

0 comments on commit 7e5e86d

Please sign in to comment.