diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:09 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:09 +0000 |
commit | 0a8a80e58374771acc225fe1e08ed8e0fe0016cc (patch) | |
tree | afa40f2a73b369e2ba930e47c961992170a669b7 /test | |
parent | 93641593cafac296b9072288d8ef9e1a526d745b (diff) | |
download | apt-0a8a80e58374771acc225fe1e08ed8e0fe0016cc.tar.gz |
Sync
Author: jgg
Date: 1998-10-22 04:56:38 GMT
Sync
Diffstat (limited to 'test')
-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(); } |