Просмотр исходного кода

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
Родитель
Сommit
202555ac66
1 измененных файлов с 5 добавлено и 5 удалено
  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
 testsuccess test -s dump.output
 
-testsuccessequal 'dpkg
-bar
+testsuccessequal 'foo
 fancy
+dpkg
 specific
-foo' aptcache pkgnames
+bar' aptcache pkgnames
 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