From 1c86be26ca78ad0a227fea3cfc64a4c5641118dc Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 02:17:46 -0400 Subject: tests/exe/opkbuild_version.sh: Show output --- 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 -- cgit v0.9.1