summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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