tests: Just check that the version starts with a digit

Our versions look like

4.0.0
4.0b1
4.0.1-535-abfef-dirty

But packagers may want to add more information here, and we don't
really care. Note that we no longer ever set the version to "unknown"
since 5abd0e46f5.

Supersedes #11173
This commit is contained in:
Fabian Boehm
2025-03-15 10:52:04 +01:00
parent 9f79fe17fc
commit 411a396fa9

View File

@@ -1,2 +1,2 @@
#RUN: %fish -v
# CHECK: fish, version {{[-.gabcdeflphat0-9]*(irty)?}}
# CHECK: fish, version {{[0-9].*}}