From 51fd7575011533ffcfa97d468f2fda29dd17034b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 30 Aug 2014 01:29:26 -0400 Subject: tests/arch_is_concerned.sh: Print to stdout --- (limited to 'tests') 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 -- cgit v0.9.1