fix kex test

This commit is contained in:
Damien Miller 2015-01-20 10:11:31 +11:00
parent c78a578107
commit 1ca3e2155a
3 changed files with 7 additions and 6 deletions

View File

@ -498,13 +498,14 @@ regress/unittests/bitmap/test_bitmap$(EXEEXT): ${UNITTESTS_TEST_BITMAP_OBJS} \
regress/unittests/test_helper/libtest_helper.a \
-lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
UNITTESTS_TEST_BITMAP_OBJS=\
UNITTESTS_TEST_KEX_OBJS=\
regress/unittests/kex/tests.o \
regress/unittests/kex/test_kex.o
regress/unittests/kex/test_kex.o \
roaming_dummy.o
regress/unittests/kex/test_kex$(EXEEXT): ${UNITTESTS_TEST_BITMAP_OBJS} \
regress/unittests/kex/test_kex$(EXEEXT): ${UNITTESTS_TEST_KEX_OBJS} \
regress/unittests/test_helper/libtest_helper.a libssh.a
$(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_BITMAP_OBJS) \
$(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_KEX_OBJS) \
regress/unittests/test_helper/libtest_helper.a \
-lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)

View File

@ -12,7 +12,7 @@
#include <stdlib.h>
#include <string.h>
#include "test_helper.h"
#include "../test_helper/test_helper.h"
#include "ssherr.h"
#include "ssh_api.h"

View File

@ -3,7 +3,7 @@
* Placed in the public domain
*/
#include "test_helper.h"
#include "../test_helper/test_helper.h"
void kex_tests(void);