Send commitlog mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:
1. r4382 - trunk/src/target/opkg/tests ([EMAIL PROTECTED])
--- Begin Message ---
Author: thomas
Date: 2008-04-21 11:19:58 +0200 (Mon, 21 Apr 2008)
New Revision: 4382
Modified:
trunk/src/target/opkg/tests/libopkg_test.c
Log:
opkg: add update packages lists call to libopkg_test
Modified: trunk/src/target/opkg/tests/libopkg_test.c
===================================================================
--- trunk/src/target/opkg/tests/libopkg_test.c 2008-04-19 04:43:55 UTC (rev
4381)
+++ trunk/src/target/opkg/tests/libopkg_test.c 2008-04-21 09:19:58 UTC (rev
4382)
@@ -1,15 +1,19 @@
#include <opkg.h>
+#include <stdlib.h>
-
int
main (int argc, char **argv)
{
opkg_t *opkg;
+ int err;
opkg = opkg_new ();
opkg_set_option (opkg, "offline_root", "/tmp/");
+ err = opkg_update_package_lists (opkg);
+ printf ("opkg_update_package_lists returned %d\n", err);
+
opkg_free (opkg);
}
--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog