Skip to content

Commit 697262a

Browse files
mcyprianpkubatrh
authored andcommitted
Use general version number regex in test_scl_usage
1 parent 0670cc8 commit 697262a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ test_application() {
165165

166166
test_scl_usage "python --version" "Python $VERSION." "${cid_file}"
167167
check_result $?
168-
test_scl_usage "node --version" "^v6." "${cid_file}"
168+
test_scl_usage "node --version" "^v[0-9]*\.[0-9]*\.[0-9]*" "${cid_file}"
169169
check_result $?
170-
test_scl_usage "npm --version" "^3." "${cid_file}"
170+
test_scl_usage "npm --version" "^[0-9]*\.[0-9]*\.[0-9]*" "${cid_file}"
171171
check_result $?
172172
test_connection
173173
check_result $?

0 commit comments

Comments
 (0)