summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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();
}