diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-06-30 13:48:17 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-06-30 14:37:04 +0200 |
commit | f6284eafd6fe9c99cd7396dcdb64fe426c63d897 (patch) | |
tree | 82ba076436b015ebc5c6b36556cc4f0afb481ce2 /tests/torture.h | |
parent | cf250171de5dfddaec95e0f2709824954547bd2d (diff) | |
download | libssh-f6284eafd6fe9c99cd7396dcdb64fe426c63d897.tar.gz libssh-f6284eafd6fe9c99cd7396dcdb64fe426c63d897.tar.xz libssh-f6284eafd6fe9c99cd7396dcdb64fe426c63d897.zip |
torture: Add assert macros for ssh return codes
This allows us to print errors from ssh sessions.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/torture.h')
-rw-r--r-- | tests/torture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/torture.h b/tests/torture.h index cb282778..8f3991d6 100644 --- a/tests/torture.h +++ b/tests/torture.h @@ -40,6 +40,8 @@ #include <cmocka.h> +#include "torture_cmocka.h" + #ifndef assert_return_code /* hack for older versions of cmocka */ #define assert_return_code(code, errno) \ |