diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-05-10 11:24:44 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-05-10 11:24:44 +0200 |
commit | 8710a36a01c0cb1648926792c2ad05185535558e (patch) | |
tree | 0f4bc04b87ae5926d9f855f7268ee84802232749 /test/integration/test-apt-ftparchive-src-cachedb | |
parent | ffe3c68e494efc1c2c4d748fa9d69e150867e5c2 (diff) |
improve pkgTagSection scanning and parsing
Removes the 256 fields limit, deals consistently with spaces littered
all over the place and is even a tiny bit faster than before.
Even comes with a bunch of new tests to validate these claims.
Diffstat (limited to 'test/integration/test-apt-ftparchive-src-cachedb')
-rwxr-xr-x | test/integration/test-apt-ftparchive-src-cachedb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/test-apt-ftparchive-src-cachedb b/test/integration/test-apt-ftparchive-src-cachedb index 1af193632..c850c739f 100755 --- a/test/integration/test-apt-ftparchive-src-cachedb +++ b/test/integration/test-apt-ftparchive-src-cachedb @@ -177,6 +177,11 @@ assert_correct_sources_file mkdir aptarchive/pool/invalid printf "meep" > aptarchive/pool/invalid/invalid_1.0.dsc testequal " +E: Could not find a record in the DSC 'aptarchive/pool/invalid/invalid_1.0.dsc'" aptftparchive sources aptarchive/pool/invalid +rm -f aptarchive/pool/invalid/invalid_1.0.dsc + +printf "meep: yes" > aptarchive/pool/invalid/invalid_1.0.dsc +testequal " E: Could not find a Source entry in the DSC 'aptarchive/pool/invalid/invalid_1.0.dsc'" aptftparchive sources aptarchive/pool/invalid rm -f aptarchive/pool/invalid/invalid_1.0.dsc |