test/system: Use the standard error output for error messages

https://github.com/containers/toolbox/pull/1377
This commit is contained in:
Debarshi Ray 2023-09-25 17:21:23 +02:00
parent 5ac8567bad
commit 9f85e13da9

View file

@ -127,7 +127,7 @@ function _pull_and_cache_distro_image() {
done
if ! $cached; then
echo "Failed to cache image ${image} to ${IMAGE_CACHE_DIR}/${image_archive}"
echo "Failed to cache image ${image} to ${IMAGE_CACHE_DIR}/${image_archive}" >&2
[ "$error_message" != "" ] && echo "$error_message" >&2
return "$ret_val"
fi