summaryrefslogtreecommitdiff
path: root/test/scratch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/scratch.cc')
-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);