Skip to content

Commit 3ba9c00

Browse files
committed
Fix bash condition
Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 108d9df commit 3ba9c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-lib-postgresql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function test_postgresql_imagestream() {
3434
*) echo "Imagestream testing not supported for $OS environment." ; return 0 ;;
3535
esac
3636
local tag="-el7"
37-
if [ x"${OS}" == "rhel8" ]; then
37+
if [ "${OS}" == "rhel8" ]; then
3838
tag="-el8"
3939
fi
4040
ct_os_test_image_stream_template "${THISDIR}/../imagestreams/postgresql-${OS%[0-9]*}.json" "${THISDIR}/../examples/postgresql-ephemeral-template.json" postgresql "-p POSTGRESQL_VERSION=${VERSION}${tag}"

0 commit comments

Comments
 (0)