From dfb9fee82413a682f3c6ba7484bd80494c6df80e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 17 Jun 2019 17:55:18 -0400 Subject: ob-installplatconf: Match upstream version patterns --- (limited to 'tests') diff --git a/tests/exe/ob-installplatconf.sh b/tests/exe/ob-installplatconf.sh index f4d2c00..1279428 100755 --- a/tests/exe/ob-installplatconf.sh +++ b/tests/exe/ob-installplatconf.sh @@ -22,11 +22,11 @@ set -eu . "${TOP_SRCDIR}/tests/aux/tap-functions.sh" . "${TOP_SRCDIR}/tests/aux/common.sh" -plan_ 4 +plan_ 6 export OB_TEST_DATADIR= -for dir in 'foo' 'foo_1.0'; do +for dir in 'foo' 'foo_1.0' 'foo_1.'; do OB_TEST_DATADIR="${TOP_SRCDIR}/tests/data/platconf_${dir}" rm -f 'poem' command_ok_ 'ob-installplatconf exit status' -- \ diff --git a/tests/local.mk b/tests/local.mk index 1035057..236926f 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -51,6 +51,8 @@ EXTRA_DIST += \ tests/data/pkg/substvars \ tests/data/platconf_foo/platconf/x60/bar/poem \ tests/data/platconf_foo/platconf/x60/foo/poem \ + tests/data/platconf_foo_1./platconf/x60/foo_1.*/poem \ + tests/data/platconf_foo_1./platconf/x60/foo_1.1/poem \ tests/data/platconf_foo_1.0/platconf/x60/foo_1.0/poem \ tests/data/platconf_foo_1.0/platconf/x60/foo_2.0/poem \ tests/data/src/src/foo.sh -- cgit v0.9.1