(check-local): also check that --help works.
authorLove Hörnquist Åstrand <lha@kth.se>
Sat, 28 Jul 2007 19:56:44 +0000 (19:56 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sat, 28 Jul 2007 19:56:44 +0000 (19:56 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21717 ec53bebd-3082-4978-b11e-865c3cabbd6b

cf/Makefile.am.common

index 947e33f8a371bfff629a21205eeaf598cdc776bb..030da2bdaac7729a74b601433b456b3aa86db7de 100644 (file)
@@ -106,7 +106,7 @@ check-local::
          failed=0; all=0; \
          for i in $$foo; do \
            all=`expr $$all + 1`; \
-           if ./$$i --version > /dev/null 2>&1; then \
+           if (./$$i --version && ./$$i --help) > /dev/null 2>&1; then \
              echo "PASS: $$i"; \
            else \
              echo "FAIL: $$i"; \