diff options
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 } |