]> sigrok.org Git - libsigrok.git/commit
tests: relax the "version text" length check, accept longer strings
authorGerhard Sittig <redacted>
Sun, 16 Oct 2016 16:25:22 +0000 (18:25 +0200)
committerUwe Hermann <redacted>
Mon, 17 Oct 2016 00:08:44 +0000 (02:08 +0200)
commit3cc2028382637283884d03af7893003d85c9818a
tree4cbcb986ffabe7596a1c4cbbe1d6a21146bd7baa
parent7c86d8537204caa95d70d92bf5698b32ac35fa10
tests: relax the "version text" length check, accept longer strings

The version text length check fails for git setups that use more digits
in abbreviated hashes, as is recommended by e.g. the Linux kernel project.

Raise the upper limit for acceptable version strings, and add comments
on how the limits were determined. The test still might fail in setups
of slightly different configuration, but now it's easier to see why the
test failed, and how to adjust the test.

Signed-off-by: Gerhard Sittig <redacted>
tests/version.c