diff options
author | jbj <devnull@localhost> | 2004-11-10 00:49:04 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-11-10 00:49:04 +0000 |
commit | 20ed3220672daf608e930791a5ded2d3bf892269 (patch) | |
tree | 0d64ebad9d0d7cd040de3fafed548691bea38f53 | |
parent | 9b623629bdbf4766ac613aacd5ff24cddecaf34e (diff) | |
download | librpm-tizen-20ed3220672daf608e930791a5ded2d3bf892269.tar.gz librpm-tizen-20ed3220672daf608e930791a5ded2d3bf892269.tar.bz2 librpm-tizen-20ed3220672daf608e930791a5ded2d3bf892269.zip |
Sanity.
CVS patchset: 7568
CVS date: 2004/11/10 00:49:04
-rw-r--r-- | rpmio/tfts.c | 18 | ||||
-rw-r--r-- | 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; } |