opkg: add libopkg test application
[project/opkg-lede.git] / tests / libopkg_test.c
1 #include <opkg.h>
2
3
4 int
5 main (int argc, char **argv)
6 {
7 opkg_t *opkg;
8
9 opkg = opkg_new ();
10
11 opkg_set_option (opkg, "offline_root", "/tmp/");
12
13
14 opkg_free (opkg);
15 }