summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:15 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:15 +0000
commit93bf083d699c60f1ac40297bfa6783fb0cb800d8 (patch)
tree456e6c73d98b317d85cbea60728cf9e93546bbd8 /test
parent779e5b002e216565108cdb4ad9598e1af650f004 (diff)
Sync
Author: jgg Date: 1998-10-30 07:53:30 GMT Sync
Diffstat (limited to 'test')
-rw-r--r--test/scratch.cc13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/scratch.cc b/test/scratch.cc
index a8817bc41..7cd43c554 100644
--- a/test/scratch.cc
+++ b/test/scratch.cc
@@ -2,10 +2,21 @@
#include <apt-pkg/init.h>
#include <apt-pkg/error.h>
#include <signal.h>
+#include <strutl.h>
-int main()
+int main(int argc,char *argv[])
{
signal(SIGPIPE,SIG_IGN);
+
+/* URI Foo(argv[1]);
+ cout << Foo.Access << '\'' << endl;
+ cout << Foo.Host << '\'' << endl;
+ cout << Foo.Path << '\'' << endl;
+ cout << Foo.User << '\'' << endl;
+ cout << Foo.Password << '\'' << endl;
+ cout << Foo.Port << endl;
+
+ return 0;*/
pkgInitialize(*_config);