X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/3cfc6336251057cdebe5261addfe61bd89311335..355a960dd8bfbe2606be95d38aafd6bc0675d76f:/test/libapt/sourcelist_test.cc diff --git a/test/libapt/sourcelist_test.cc b/test/libapt/sourcelist_test.cc index 6fc84fd93..71aa54f1e 100644 --- a/test/libapt/sourcelist_test.cc +++ b/test/libapt/sourcelist_test.cc @@ -1,15 +1,20 @@ +#include + +#include #include -#include +#include -#include "assert.h" +#include #include #include #include +#include "assert.h" + char *tempfile = NULL; int tempfile_fd = -1; -void remove_tmpfile(void) +static void remove_tmpfile(void) { if (tempfile_fd > 0) close(tempfile_fd); @@ -19,8 +24,10 @@ void remove_tmpfile(void) } } -int main(int argc, char *argv[]) +int main() { + _config->Set("APT::Sources::Use-Deb822", true); + const char contents[] = "" "Types: deb\n" "URIs: http://ftp.debian.org/debian\n"