summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-17 17:55:18 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-17 17:55:18 (EDT)
commitdfb9fee82413a682f3c6ba7484bd80494c6df80e (patch)
treeade817d7f836dd23fb56abebe3116f2730805e23 /tests
parentee2aef87d9bc356f29e0e6f3b3c6ad92ffafcf2d (diff)
ob-installplatconf: Match upstream version patterns
Diffstat (limited to 'tests')
-rwxr-xr-xtests/exe/ob-installplatconf.sh4
-rw-r--r--tests/local.mk2
2 files changed, 4 insertions, 2 deletions
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