]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-ftparchive-src-cachedb
check hashes of compressed files as well
[apt.git] / test / integration / test-apt-ftparchive-src-cachedb
index adcca6217bc358e73ccab535f22f417169c40855..e7b148530eec5cceefe5b64f0632311243835f18 100755 (executable)
@@ -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