summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/libopkg_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libopkg_test.c b/tests/libopkg_test.c
index 9146d0c..fd39778 100644
--- a/tests/libopkg_test.c
+++ b/tests/libopkg_test.c
@@ -11,6 +11,8 @@ main (int argc, char **argv)
opkg_set_option (opkg, "offline_root", "/tmp/");
+ opkg_read_config_files (opkg);
+
err = opkg_update_package_lists (opkg);
printf ("opkg_update_package_lists returned %d\n", err);