summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-02-13 11:55:31 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-13 12:30:46 +0100
commit8d1bfb5a85d53114533f91a86cff19d70620a679 (patch)
treea0284edd9ee46e9e3693d958051424dde06e9b6b
parent2ac664968dcd09e495b0aa5fb0e368dd3286ce7b (diff)
downloadlibssh-8d1bfb5a85d53114533f91a86cff19d70620a679.tar.gz
libssh-8d1bfb5a85d53114533f91a86cff19d70620a679.tar.xz
libssh-8d1bfb5a85d53114533f91a86cff19d70620a679.zip
tests: Fixed misc and isipaddr test on Windows.
(cherry picked from commit ca941d6985a41498744b4c1549c7aa05dbd8d10c)
-rw-r--r--tests/unittests/torture_isipaddr.c1
-rw-r--r--tests/unittests/torture_misc.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/unittests/torture_isipaddr.c b/tests/unittests/torture_isipaddr.c
index f1cd6b7a..fb034da9 100644
--- a/tests/unittests/torture_isipaddr.c
+++ b/tests/unittests/torture_isipaddr.c
@@ -3,6 +3,7 @@
#include "torture.h"
#include "misc.c"
+#include "error.c"
/*
* Test the behavior of ssh_is_ipaddr()
diff --git a/tests/unittests/torture_misc.c b/tests/unittests/torture_misc.c
index 330a23ef..c20f3585 100644
--- a/tests/unittests/torture_misc.c
+++ b/tests/unittests/torture_misc.c
@@ -11,6 +11,8 @@
#include "torture.h"
#include "misc.c"
+#include "error.c"
+
#define TORTURE_TEST_DIR "/usr/local/bin/truc/much/.."