summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
-rw-r--r--tests/opkg_extract_test.c2
-rw-r--r--tests/opkg_hash_test.c8
3 files changed, 7 insertions, 7 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f7be7ff..fe67e99 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,10 +3,10 @@ noinst_PROGRAMS = opkg_hash_test opkg_extract_test
opkg_hash_test_LDADD = $(top_builddir)/libbb/libbb.la $(top_builddir)/libopkg/libopkg.la
opkg_hash_test_SOURCES = opkg_hash_test.c
-opkg_hash_test_CFLAGS = $(ALL_CFLAGS) -I$(top_builddir)
+opkg_hash_test_CFLAGS = $(ALL_CFLAGS) -I$(top_srcdir)
opkg_extract_test_LDADD = $(top_builddir)/libbb/libbb.la $(top_builddir)/libopkg/libopkg.la
opkg_extract_test_SOURCES = opkg_extract_test.c
-opkg_extract_test_CFLAGS = $(ALL_CFLAGS) -I$(top_builddir)
+opkg_extract_test_CFLAGS = $(ALL_CFLAGS) -I$(top_srcdir)
diff --git a/tests/opkg_extract_test.c b/tests/opkg_extract_test.c
index 83e23e3..582ea71 100644
--- a/tests/opkg_extract_test.c
+++ b/tests/opkg_extract_test.c
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include "libbb/libbb.h"
+#include <libbb/libbb.h>
/*
* build thus:
diff --git a/tests/opkg_hash_test.c b/tests/opkg_hash_test.c
index 934dac7..7d4ea96 100644
--- a/tests/opkg_hash_test.c
+++ b/tests/opkg_hash_test.c
@@ -15,11 +15,11 @@
General Public License for more details.
*/
-#include "opkg.h"
+#include <libopkg/opkg.h>
-#include "hash_table.h"
-#include "opkg_utils.h"
-#include "pkg_hash.h"
+#include <libopkg/hash_table.h>
+#include <libopkg/opkg_utils.h>
+#include <libopkg/pkg_hash.h>
int main(int argc, char *argv[])
{