tests: improve the version string test
authorBartosz Golaszewski <bartekgola@gmail.com>
Thu, 8 Jun 2017 13:26:24 +0000 (15:26 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Thu, 8 Jun 2017 13:26:24 +0000 (15:26 +0200)
commit190555c3bc86989e785fce6c21af6f3f6b2fa572
treec813f11efe24186c3eb9d437a674ca1f2fb0a96b
parentbe302e2ce54b0eefd37b550df0e81593c82f400a
tests: improve the version string test

Use the recently introduced regex matching function to verify that
the version string has a correct format.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/tests-misc.c