diff options
-rwxr-xr-x | tests/t0001-validate-git-versions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0001-validate-git-versions.sh b/tests/t0001-validate-git-versions.sh index a65b35e..3200f31 100755 --- a/tests/t0001-validate-git-versions.sh +++ b/tests/t0001-validate-git-versions.sh | |||
@@ -33,7 +33,7 @@ test_expect_success 'test submodule version matches Makefile' ' | |||
33 | sed -e "s/^[0-9]* \\([0-9a-f]*\\) [0-9] .*$/\\1/") && | 33 | sed -e "s/^[0-9]* \\([0-9a-f]*\\) [0-9] .*$/\\1/") && |
34 | cd git && | 34 | cd git && |
35 | git describe --match "v[0-9]*" $sm_sha1 | 35 | git describe --match "v[0-9]*" $sm_sha1 |
36 | ) | sed -e "s/^v//" >sm_version && | 36 | ) | sed -e "s/^v//" -e "s/-/./" >sm_version && |
37 | test_cmp sm_version makefile_version | 37 | test_cmp sm_version makefile_version |
38 | fi | 38 | fi |
39 | ' | 39 | ' |