]>
git.saurik.com Git - apt.git/blob - test/libapt/fileutl_test.cc
1 #include <apt-pkg/error.h>
2 #include <apt-pkg/fileutl.h>
13 int main(int argc
,char *argv
[])
15 std::vector
<std::string
> files
;
18 files
= Glob("*.lst");
19 if (files
.size() != 1)
26 files
= Glob("xxxyyyzzz");
27 if (files
.size() != 0 || _error
->PendingError())
33 // many matches (number is a bit random)
35 if (files
.size() < 10)