From 469ffd57cd78f9d4758de5fed4998d4c62c82c0e Mon Sep 17 00:00:00 2001 From: Lars T Hansen Date: Tue, 17 Dec 2024 13:53:41 +0100 Subject: [PATCH] No bug: Allow patch version to have more than one digit in test case --- tests/ps-syntax.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ps-syntax.sh b/tests/ps-syntax.sh index 0158c44..55ff182 100755 --- a/tests/ps-syntax.sh +++ b/tests/ps-syntax.sh @@ -29,7 +29,7 @@ if [[ $count -le 0 ]]; then exit 1 fi l=$(head -n 1 <<< $output) -if [[ !( $l =~ ^v=[0-9]+\.[0-9]+\.[0-9](-.+)?, ) ]]; then +if [[ !( $l =~ ^v=[0-9]+\.[0-9]+\.[0-9]+(-.+)?, ) ]]; then echo "CSV version missing, got $l" exit 1 fi