summaryrefslogtreecommitdiffstats
path: root/tests/libopkg_test.c
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:09:52 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:09:52 (EST)
commit1a135f3cd5b63cfd594bcaee7b2d9b90f6c2acef (patch)
tree6e552d41535891ed4a3fe210a253f900dd1d8b51 /tests/libopkg_test.c
parent4cdbdfc00a611ac38c1737bf69966fc1c3cc96e0 (diff)
opkg: add libopkg test application
git-svn-id: http://opkg.googlecode.com/svn/trunk@73 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'tests/libopkg_test.c')
-rw-r--r--tests/libopkg_test.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/libopkg_test.c b/tests/libopkg_test.c
new file mode 100644
index 0000000..b834a7f
--- /dev/null
+++ b/tests/libopkg_test.c
@@ -0,0 +1,15 @@
+#include <opkg.h>
+
+
+int
+main (int argc, char **argv)
+{
+ opkg_t *opkg;
+
+ opkg = opkg_new ();
+
+ opkg_set_option (opkg, "offline_root", "/tmp/");
+
+
+ opkg_free (opkg);
+}