summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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