From 20ed3220672daf608e930791a5ded2d3bf892269 Mon Sep 17 00:00:00 2001 From: jbj Date: Wed, 10 Nov 2004 00:49:04 +0000 Subject: Sanity. CVS patchset: 7568 CVS date: 2004/11/10 00:49:04 --- rpmio/tfts.c | 18 ++++++++++++------ rpmio/tglob.c | 13 +++++++++++-- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/rpmio/tfts.c b/rpmio/tfts.c index 0ff43a96c..c74b915a8 100644 --- a/rpmio/tfts.c +++ b/rpmio/tfts.c @@ -11,14 +11,17 @@ /*@unchecked@*/ static int _fts_debug = 0; -#if 1 -#define HTTPSPATH "https://wellfleet.jbj.org/rawhide/test/" +#if 0 +#define HTTPSPATH "https://localhost/rawhide/test/" +#define HTTPPATH "http://localhost/rawhide/test/" #else -#define HTTPSPATH "https://wellfleet.jbj.org/rawhide/" +#define HTTPSPATH "https://localhost/rawhide/" +#define HTTPPATH "http://localhost/rawhide/" #endif -#define FTPPATH "ftp://wellfleet.jbj.org/pub/rawhide/packages/test" +#define FTPPATH "ftp://localhost/pub/rawhide/packages/test" #define DIRPATH "/var/ftp/pub/rawhide/packages/test" static char * httpspath = HTTPSPATH; +static char * httppath = HTTPPATH; static char * ftppath = FTPPATH; static char * dirpath = DIRPATH; @@ -161,12 +164,15 @@ main(int argc, const char *argv[]) _av_debug = -1; _ftp_debug = -1; -_dav_debug = -1; - ftsWalk(dirpath); +_dav_debug = 1; #if 0 + ftsWalk(dirpath); ftsWalk(ftppath); #endif + ftsWalk(httppath); +#if 0 ftsWalk(httpspath); +#endif /*@i@*/ urlFreeCache(); diff --git a/rpmio/tglob.c b/rpmio/tglob.c index ba38eb4db..003f24085 100644 --- a/rpmio/tglob.c +++ b/rpmio/tglob.c @@ -9,10 +9,14 @@ static int _debug = 0; -#define FTPPATH "ftp://porkchop/mnt/redhat/beehive/comps/dist/[78]*/rpm*" -#define DIRPATH "/mnt/redhat/beehive/comps/dist/[78]*/rpm*" +#define HTTPSPATH "https://localhost/rawhide/test/*.rpm" +#define HTTPPATH "http://localhost/rawhide/test/*.rpm" +#define FTPPATH "ftp://localhost/pub/rawhide/packages/test/*.rpm" +#define DIRPATH "/var/ftp/pub/rawhide/packages/test" static char * dirpath = DIRPATH; static char * ftppath = FTPPATH; +static char * httppath = HTTPPATH; +static char * httpspath = HTTPSPATH; static int Glob_error(const char *epath, int eerrno) { @@ -72,8 +76,13 @@ main(int argc, const char *argv[]) rpmIncreaseVerbosity(); } +_av_debug = -1; +_ftp_debug = -1; +_dav_debug = -1; printGlob(dirpath); printGlob(ftppath); + printGlob(httppath); + printGlob(httpspath); return 0; } -- cgit v1.2.3