summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2025-09-24 16:04:05 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2025-09-30 19:33:25 +0400
commitcb29fda6c9a5bf7bf945e53b05f53c2c90542f9d (patch)
treee01bd5640d5fce8d6e688e09f105d53229c0548e /tests
parent0d4fb8f746d7ff215146dbd96efbe9cc87cb98ff (diff)
downloadfocaccia-qemu-cb29fda6c9a5bf7bf945e53b05f53c2c90542f9d.tar.gz
focaccia-qemu-cb29fda6c9a5bf7bf945e53b05f53c2c90542f9d.zip
tests/docker/common: print errors to stderr
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20250924120426.2158655-9-marcandre.lureau@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/docker/common.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc
index a611e6adf9..2ed2365a61 100755
--- a/tests/docker/common.rc
+++ b/tests/docker/common.rc
@@ -50,7 +50,7 @@ configure_qemu()
     echo "Configure options:"
     echo $config_opts
     $QEMU_SRC/configure $config_opts || \
-        { cat config.log && test_fail "Failed to run 'configure'"; }
+        { cat config.log >&2 && test_fail "Failed to run 'configure'"; }
 }
 
 build_qemu()
@@ -73,7 +73,7 @@ check_qemu()
 
 test_fail()
 {
-    echo "$@"
+    echo "$@" >&2
     exit 1
 }