Hard error on JSON truncation
Fix testall always succeeding, even when there are failed tests.

We trap EXIT, so make sure we keep the return code.
Merge pull request #2011 from worr/bug/json-truncation

Hard error on JSON truncation
contrib/cfengine.el: add 25.1 compatibility code and clean up
Revert "Fix testall always succeeding, even when there are failed tests."

This reverts commit 0013fd83bb8c494dd0ca42c75c0384e4d2f6bc5a.

Apparently relying on the $? variable inside a trap handler doesn't
work in all shells (Solaris).

New fix will follow.
Fix testall returning success even when there are failures.

The trap handler hides the exit code, so don't use it unless we have
to.
Merge pull request #2015 from tzz/tzz/cfengine.el

contrib/cfengine.el: add 25.1 compatibility code and clean up
contrib/cfengine.el: Support add-log-current-defun-function
Add: Acceptance test for module protocol

Should be able to use negative class expressions with classes defined
from module protocol right away.

ref: https://dev.cfengine.com/issues/6689
Merge pull request #2017 from nickanderson/redmine/6689

Add: Acceptance test for module protocol
Merge pull request #2019 from leoliu/master

contrib/cfengine.el: Support add-log-current-defun-function