summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:59 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:59 +0000
commiteac0319318c8b4d13e43179b0ebcc7de0ca11eab (patch)
tree1034f11fd558198ce6a575f43e731670200fb96b /test
parent8c6e33d8525349ed57b7d3067886eb0f148fce7b (diff)
downloadapt-eac0319318c8b4d13e43179b0ebcc7de0ca11eab.tar.gz
Fini
Author: jgg Date: 2000-05-13 02:11:10 GMT Fini
Diffstat (limited to 'test')
-rw-r--r--test/makefile7
-rw-r--r--test/scratch.cc6
2 files changed, 10 insertions, 3 deletions
diff --git a/test/makefile b/test/makefile
index 787933101..31d67d46c 100644
--- a/test/makefile
+++ b/test/makefile
@@ -43,3 +43,10 @@ SLIBS = -lapt-pkg
LIB_MAKES = apt-pkg/makefile
SOURCE = srcrfind.cc
include $(PROGRAM_H)
+
+# Control Extracter tester
+PROGRAM=extractcontrol
+SLIBS = -lapt-pkg -lapt-inst -ldb2
+LIB_MAKES = apt-pkg/makefile
+SOURCE = extractcontrol.cc
+include $(PROGRAM_H)
diff --git a/test/scratch.cc b/test/scratch.cc
index 6f55e53d0..c8888a160 100644
--- a/test/scratch.cc
+++ b/test/scratch.cc
@@ -11,9 +11,9 @@ int main(int argc,char *argv[])
{
pkgInitialize(*_config);
- cout << flNoLink(argv[1]) << endl;
+// cout << flNoLink(argv[1]) << endl;
- #if 0
+// #if 0
/* DynamicMMap *FileMap = new DynamicMMap(MMap::Public);
pkgFLCache *FList = new pkgFLCache(*FileMap);
@@ -97,6 +97,6 @@ int main(int argc,char *argv[])
Deb.ExtractArchive(Extract);
}
// #endif
-#endif
+//#endif
_error->DumpErrors();
}