summaryrefslogtreecommitdiffstats
path: root/menu/tests/menutest
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-10-21 18:59:15 +0000
committerHavoc Pennington <hp@pobox.com>2003-10-21 18:59:15 +0000
commit0763bb19496b63d66f98f0bb1e3d8ce667e8852e (patch)
tree19f8716a68aa069d427ee0479475ecd519c1ff74 /menu/tests/menutest
parent5958cf9336feeee9ecb5da8671a4663c1e5bffc5 (diff)
downloadxdg-specs-0763bb19496b63d66f98f0bb1e3d8ce667e8852e.tar.xz
create autotools setup
2003-10-21 Havoc Pennington <hp@redhat.com> * create autotools setup
Diffstat (limited to 'menu/tests/menutest')
-rwxr-xr-xmenu/tests/menutest9
1 files changed, 8 insertions, 1 deletions
diff --git a/menu/tests/menutest b/menu/tests/menutest
index d164f26..33dd4b8 100755
--- a/menu/tests/menutest
+++ b/menu/tests/menutest
@@ -82,6 +82,7 @@ for TEST in ${TESTS}; do
fi
done
+
echo "OK tests: ${SUCCEEDED}"
if ! test -z "${FAILED}" ; then
@@ -89,4 +90,10 @@ if ! test -z "${FAILED}" ; then
exit 1
fi
-exit 0
+echo `echo ${SUCCEEDED} | wc -w`' tests passed, '`echo ${FAILED} | wc -w`' tests failed'
+
+if test -z "${FAILED}" ; then
+ exit 0
+else
+ exit 1
+fi