diff options
Diffstat (limited to 'test/scratch.cc')
-rw-r--r-- | test/scratch.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/scratch.cc b/test/scratch.cc index 577ab5f9b..a8817bc41 100644 --- a/test/scratch.cc +++ b/test/scratch.cc @@ -1,9 +1,12 @@ #include <apt-pkg/acquire-item.h> #include <apt-pkg/init.h> #include <apt-pkg/error.h> +#include <signal.h> int main() { + signal(SIGPIPE,SIG_IGN); + pkgInitialize(*_config); pkgSourceList List; @@ -17,6 +20,8 @@ int main() if (_error->PendingError() == true) break; } + + Fetcher.Run(); _error->DumpErrors(); } |