summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 02:17:46 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 02:17:46 (EDT)
commit1c86be26ca78ad0a227fea3cfc64a4c5641118dc (patch)
treeb8429916020a24878cdb5f3a7264b204898c16d2
parentefdbcce9ff2f824f294898435a9d0304fc4d82a0 (diff)
tests/exe/opkbuild_version.sh: Show output
-rwxr-xr-xtests/exe/opkbuild_version.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/exe/opkbuild_version.sh b/tests/exe/opkbuild_version.sh
index c5f08b8..9bf5055 100755
--- a/tests/exe/opkbuild_version.sh
+++ b/tests/exe/opkbuild_version.sh
@@ -23,11 +23,14 @@ set -eu
plan_ 1
-case "$(opkbuild -V)" in
+got="$(opkbuild -V)"
+case "${got}" in
'opkbuild (opkbuild) '*)
result_ 'ok' -- 'opkbuild version output'
;;
*)
result_ 'not ok' -- 'opkbuild version output'
+ diag_ " Failed test 'opkbuild version output'"
+ diag_ " got: '${got}'"
;;
esac