]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-update-expected-size
test exitcode as well as string equality
[apt.git] / test / integration / test-apt-update-expected-size
index 045217a7704fd1052edd61b2c9a2ca925c5446ce..9711c293a023a1b4b8254c3bebd338acfb227dac 100755 (executable)
@@ -39,6 +39,6 @@ find aptarchive -name 'Packages*' | while read pkg; do
 done
 NEW_SIZE="$(stat --printf=%s aptarchive/dists/unstable/main/binary-i386/Packages)"
 rm -f rootdir/var/lib/apt/lists/localhost*
-testequal "W: Failed to fetch http://localhost:8080/dists/unstable/main/binary-i386/Packages  Writing more data than expected ($NEW_SIZE > $SIZE)
+testfailureequal "W: Failed to fetch http://localhost:8080/dists/unstable/main/binary-i386/Packages  Writing more data than expected ($NEW_SIZE > $SIZE)
 
 E: Some index files failed to download. They have been ignored, or old ones used instead." aptget update -qq