Forráskód Böngészése

Fix test case that was broken by switch of hash function

This test relies on the ordering of the hash function.
Julian Andres Klode 10 éve
szülő
commit
202555ac66
1 módosított fájl, 5 hozzáadás és 5 törlés
  1. 5 5
      test/integration/test-apt-cache

+ 5 - 5
test/integration/test-apt-cache

@@ -46,14 +46,14 @@ testsuccess aptcache dump
 cp rootdir/tmp/testsuccess.output dump.output
 cp rootdir/tmp/testsuccess.output dump.output
 testsuccess test -s dump.output
 testsuccess test -s dump.output
 
 
-testsuccessequal 'dpkg
-bar
+testsuccessequal 'foo
 fancy
 fancy
+dpkg
 specific
 specific
-foo' aptcache pkgnames
+bar' aptcache pkgnames
 testsuccessequal 'bar' aptcache pkgnames bar
 testsuccessequal 'bar' aptcache pkgnames bar
-testsuccessequal 'fancy
-foo' aptcache pkgnames f
+testsuccessequal 'foo
+fancy' aptcache pkgnames f
 
 
 testsuccessequal "       foo |          1 | file:$(readlink -f .)/aptarchive unstable/main all Packages" aptcache madison foo
 testsuccessequal "       foo |          1 | file:$(readlink -f .)/aptarchive unstable/main all Packages" aptcache madison foo