Skip to content

Commit

Permalink
- fixed regex for md5sum, pstree, and bzcat which caused failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Oseltamivir committed Oct 31, 2024
1 parent 8686d81 commit 23d692b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/get-generic-sys-util/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
"env": {
"CM_SYS_UTIL_NAME": "libbz2_dev",
"CM_SYS_UTIL_VERSION_CMD": "bzcat --version",
"CM_SYS_UTIL_VERSION_RE": "Version ([A-Za-z0-9]+(\\.[A-Za-z0-9]+)+)"
"CM_SYS_UTIL_VERSION_RE": "\\b\\d+\\.\\d+(?:\\.\\d+)?\\b"
},
"state": {
"libbz2_dev": {
Expand Down Expand Up @@ -554,7 +554,7 @@
"env": {
"CM_SYS_UTIL_NAME": "md5sha1sum",
"CM_SYS_UTIL_VERSION_CMD": "md5sum --version",
"CM_SYS_UTIL_VERSION_RE": "md5sum \\(GNU coreutils\\) ([\\d.]+)"
"CM_SYS_UTIL_VERSION_RE": "\\b\\d+\\.\\d+(?:\\.\\d+)?\\b"
},
"state": {
"md5sha1sum": {
Expand Down Expand Up @@ -661,7 +661,7 @@
"env": {
"CM_SYS_UTIL_NAME": "psmisc",
"CM_SYS_UTIL_VERSION_CMD": "pstree --version",
"CM_SYS_UTIL_VERSION_RE": "pstree \\(PSmisc\\) ([\\d.]+)"
"CM_SYS_UTIL_VERSION_RE": "\\b\\d+\\.\\d+(?:\\.\\d+)?\\b"
},
"state": {
"psmisc": {
Expand Down

0 comments on commit 23d692b

Please sign in to comment.