Skip to content

Commit fa68694

Browse files
committed
Improve tests output
1 parent 818ee94 commit fa68694

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

ci/settings.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ jobs:
143143
fi
144144
145145
if [[ ! -s "artifact/openssl-${old_version}.tar.gz" ]]; then
146-
echo >&2 "FAIL: expected tarball not to be empty, but it's of 0 size."
146+
echo >&2 "FAIL: expected tarball not to be empty, but it's of 0 size." \
147+
"Artifact directory content is:"
147148
>&2 ls -la "artifact/"
148149
failure="true"
149150
fi
@@ -157,7 +158,6 @@ jobs:
157158
if ! sha256sum --check <<< "$(< sha256) openssl-${old_version}.tar.gz"
158159
then
159160
echo >&2 "FAIL: expected 'sha256' checksum be correct."
160-
>&2 ls -la "artifact/"
161161
failure="true"
162162
fi
163163
popd > /dev/null
@@ -219,7 +219,8 @@ jobs:
219219
fi
220220
221221
if [[ ! -s "old/openssl-${old_version}.tar.gz" ]]; then
222-
echo >&2 "FAIL: expected tarball not to be empty, but it's of 0 size."
222+
echo >&2 "FAIL: expected tarball not to be empty, but it's of 0 size." \
223+
"Artifact directory content is:"
223224
>&2 ls -la "old/"
224225
failure="true"
225226
fi
@@ -241,7 +242,8 @@ jobs:
241242
fi
242243
243244
if [[ ! -s "current/openssl-${latest_version}.tar.gz" ]]; then
244-
echo >&2 "FAIL: expected tarball not to be empty, but it's of 0 size."
245+
echo >&2 "FAIL: expected tarball not to be empty, but it's of 0 size." \
246+
"Artifact directory content is:"
245247
>&2 ls -la "current/"
246248
failure="true"
247249
fi

0 commit comments

Comments
 (0)