diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-30 01:29:26 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-30 01:29:26 (EDT) |
commit | 51fd7575011533ffcfa97d468f2fda29dd17034b (patch) | |
tree | 8ae800deaf1bcab4e77737ae82c1114349a4c00e | |
parent | d23a01def42d06b7f349fb3359a1f0838656a28a (diff) |
tests/arch_is_concerned.sh: Print to stdout
-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 |