Skip to content

Commit 1ecb718

Browse files
committed
Fix regular expression used for get proper imagestream
rhel9 works fine. For rhel10 it returns rhel1 that is wrong. Allow also checking imagestreams for rhel10 Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 13bbbe1 commit 1ecb718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-lib-perl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function test_perl_imagestream() {
2020
VERSION="5.26"
2121
fi
2222
echo "Testing perl imagestream application"
23-
ct_os_test_image_stream_quickstart "${THISDIR}/imagestreams/perl-${OS%[0-9]*}.json" \
23+
ct_os_test_image_stream_quickstart "${THISDIR}/imagestreams/perl-${OS//[0-9]/}.json" \
2424
"${THISDIR}/sample-test-app.json" \
2525
"${IMAGE_NAME}" \
2626
perl \

0 commit comments

Comments
 (0)