diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/arch_is_concerned.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/arch_is_concerned.sh b/tests/arch_is_concerned.sh index 64c07cc..5358b73 100755 --- a/tests/arch_is_concerned.sh +++ b/tests/arch_is_concerned.sh @@ -32,18 +32,16 @@ do_test() if arch_is_concerned "${host_arch}" "${arches}"; then if ! ${result}; then - printf 'False positive:\n' >&2 - printf ' Host architecture: "%s"\n' \ - "${host_arch}" >&2 - printf ' Package architectures: "%s"\n' "${arches}" >&2 + printf 'False positive:\n' + printf ' Host architecture: "%s"\n' "${host_arch}" + printf ' Package architectures: "%s"\n' "${arches}" tests_es=1 fi else if ${result}; then - printf 'False negative:\n' >&2 - printf ' Host architecture: "%s"\n' \ - "${host_arch}" >&2 - printf ' Package architectures: "%s"\n' "${arches}" >&2 + printf 'False negative:\n' + printf ' Host architecture: "%s"\n' "${host_arch}" + printf ' Package architectures: "%s"\n' "${arches}" tests_es=1 fi fi |