jstedfast / gmime

A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools.
GNU Lesser General Public License v2.1
117 stars 38 forks source link

tests/Makefile.am: exit -1 #82

Closed 0-wiz-0 closed 4 years ago

0-wiz-0 commented 4 years ago

tests/Makefile.am contains this rule:

    echo "Results: $${passed} tests passed; $${failed} tests failed."; \
    if [ $${failed} -ne 0 ]; then \
        echo -e "Failed tests: $${failed_tests}"; \
        exit -1; \
    fi

-1 is an invalid argument for exit. From the POSIX spec:

        The exit utility shall cause the shell to exit from its current
        execution environment with the exit status specified by the
        unsigned decimal integer n.

Please use a positive number.

jstedfast commented 4 years ago

Thanks.