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