Skip to content

Commit 7d58b02

Browse files
committed
Fix reg expression for getting rhel name from 'rhel10'.
The new expresssion removes all digits. Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 8af4f0f commit 7d58b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-lib-nginx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function test_nginx_imagestream() {
2929
return
3030
fi
3131
fi
32-
ct_os_test_image_stream_s2i "${THISDIR}/imagestreams/nginx-${OS%[0-9]*}.json" "${IMAGE_NAME}" \
32+
ct_os_test_image_stream_s2i "${THISDIR}/imagestreams/nginx-${OS//[0-9]/}.json" "${IMAGE_NAME}" \
3333
"https://github.com/sclorg/nginx-container.git" \
3434
"examples/${VERSION}/test-app" \
3535
"Test NGINX passed"

0 commit comments

Comments
 (0)