Output a correct value in the log

Previously, it was just stating "error with openstack" for any failure,
instead of pointing to the actual job.

Change-Id: I443debe5cbbb7c1ff8fad21236f16574c23ff83f
This commit is contained in:
Cédric Jeanneret 2022-09-19 14:40:15 +02:00
parent 3c3c3dd7f2
commit 1e08cc120f

View File

@ -31,7 +31,7 @@ function citest {
"$@"
local status=$?
if [ $status -ne 0 ]; then
echo "error with $1" >&2
echo "error with ${test_name}" >&2
generate-subunit $(date +%s) 10 fail $test_name >> {{ working_dir }}/undercloud_sanity.subunit
script_return_value=1
else