summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/local.mk1
-rw-r--r--tests/parse_control.common.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/local.mk b/tests/local.mk
index 2920d12..42ac039 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -12,6 +12,7 @@ tests_parse_control_basic_SOURCES = \
tests/parse_control.common.sh \
tests/aux/common.sh \
tests/aux/tap-functions.sh \
+ src/locale.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 c8a413c..513d65c 100644
--- a/tests/parse_control.common.sh
+++ b/tests/parse_control.common.sh
@@ -18,8 +18,6 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-load_locale
-
HT=' '
LF='
'
@@ -40,6 +38,8 @@ main()
{
plan_ 1
+ load_locale
+
parse_control - field para "${req_fields}" <<-EOF
${packages}
EOF