aboutsummaryrefslogtreecommitdiffstats
path: root/t/test.c
diff options
context:
space:
mode:
authorJason Woodward2008-11-25 05:08:34 +0000
committerJason Woodward2008-11-25 05:08:34 +0000
commit9c93560701f95046335c0a69cac26a81969df01e (patch)
treed04c7f3a66373268cc00982d2e6c40ee83ff8073 /t/test.c
parent8d31622d3a7d3d6dc6fd109756baf56b56a7c799 (diff)
downloadslapt-get-9c93560701f95046335c0a69cac26a81969df01e.tar.gz
* (libslapt) added slapt_write_rc_config (incorporating from gslapt)
* (libslapt) added parsing of disabled sources (instead of ignoring what gslapt creates). * test updates * Added source priority support based on patch submitted by Ken Milmore
Diffstat (limited to 't/test.c')
-rw-r--r--t/test.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/t/test.c b/t/test.c
index 5b67cad..2834f63 100644
--- a/t/test.c
+++ b/t/test.c
@@ -17,9 +17,23 @@ slapt_pkg_info_t pkg = {
"",
".tgz",
115,
- 440
+ 440,
+ SLAPT_PRIORITY_DEFAULT,
+ SLAPT_TRUE
};
+int _progress_cb(void *clientp, double dltotal, double dlnow,
+ double ultotal, double ulnow)
+{
+ (void) clientp;
+ (void) dltotal;
+ (void) dlnow;
+ (void) ultotal;
+ (void) ulnow;
+ return 0;
+}
+
+
Suite *slapt_test_suite()
{
Suite *s = suite_create ("Slapt");