summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-21 23:01:56 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-21 23:01:56 (EDT)
commit524ca8ba73c9b3094c5425894e3bd5658d7f4d02 (patch)
treebb0320e6be94c1b5366504d694c6646f78fc328c /tests
parentce58a3016e2daae10ac529aa6397f59c0a6fa339 (diff)
tests/parse_control.common.sh: Fix load_locale() call
Fixes: ./tests/parse_control.basic: 92: ./tests/parse_control.basic: load_locale: not found
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