diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-22 01:48:57 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-22 01:48:57 (EDT) |
commit | d841dc0bfb1d18a2f85f76096d4aebc4d772b88e (patch) | |
tree | d3c59eed4e2af1a88b7a6cc7c06f1eee6c4e6110 /tests/parse_control.common.sh | |
parent | 44e452fb3c8cc7a093d72fbc280be3973e627a62 (diff) | |
parent | 76885ce7f12b98f0700a3a0535e06425bc1a9aa5 (diff) |
Merge branch 'feature/tap-tests'
Diffstat (limited to 'tests/parse_control.common.sh')
-rw-r--r-- | tests/parse_control.common.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/parse_control.common.sh b/tests/parse_control.common.sh index 9eee27b..c084cee 100644 --- a/tests/parse_control.common.sh +++ b/tests/parse_control.common.sh @@ -1,6 +1,6 @@ # Common parse_control() tests functions # -# Copyright (C) 2014 Patrick "P. J." McDermott +# Copyright (C) 2014 Patrick McDermott # # This file is part of the ProteanOS Development Kit. # @@ -18,8 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # <http://www.gnu.org/licenses/>. -load_locale - HT=' ' LF=' ' @@ -38,13 +36,19 @@ para() main() { + plan_ 1 + + in_place=true + builddir='.' + load_locale + 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 } |