summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/local.mk3
-rw-r--r--tests/parse_control.common.sh4
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/local.mk b/tests/local.mk
index fd2115a..2920d12 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -10,7 +10,8 @@ TESTS = $(check_PROGRAMS)
tests_parse_control_basic_SOURCES = \
tests/parse_control.basic.sh \
tests/parse_control.common.sh \
- tests/common.sh \
+ tests/aux/common.sh \
+ tests/aux/tap-functions.sh \
src/output.sh \
src/control.sh
tests_parse_control_basic_LDADD = $(tests_parse_control_basic_SOURCES:.sh=.sho)
diff --git a/tests/parse_control.common.sh b/tests/parse_control.common.sh
index 9eee27b..c8a413c 100644
--- a/tests/parse_control.common.sh
+++ b/tests/parse_control.common.sh
@@ -38,13 +38,15 @@ para()
main()
{
+ plan_ 1
+
parse_control - field para "${req_fields}" <<-EOF
${packages}
EOF
printf 'Required fields: %s\n\n' "${req_fields}"
- test_diff "${results}" "${test_results}"
+ is_diff 'parse_control() paragraphs' "${results}" "${test_results}"
return 0
}