[Dev] [dbscripts] [PATCH 18/31] test: ftpdir-cleanup: "cleanup split packages": Correctly iterate

Luke Shumaker lukeshu at lukeshu.com
Fri Apr 6 18:43:51 GMT 2018


From: Luke Shumaker <lukeshu at parabola.nu>

In Arch, this fix was tucked away in d0b808b5a58023899c7e76958cdae732bbdfc08e
---
 test/cases/ftpdir-cleanup.bats | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/cases/ftpdir-cleanup.bats b/test/cases/ftpdir-cleanup.bats
index 417e32b..30d6d53 100755
--- a/test/cases/ftpdir-cleanup.bats
+++ b/test/cases/ftpdir-cleanup.bats
@@ -101,7 +101,7 @@ load ../lib/common
 
 	for arch in "${ARCH_BUILD[@]}"; do
 		for pkg in $(getPackageNamesFromPackageBase "${pkgs[0]}"); do
-			checkRemovedPackage extra "${pkgs[0]}" "${arch}"
+			checkRemovedPackage extra "${pkg}" "${arch}"
 			[ ! -f "${FTP_BASE}/${PKGPOOL}/${pkg}" ]
 			[ ! -f "${FTP_BASE}/${repo}/os/${arch}/${pkg}" ]
 		done
-- 
2.16.2




More information about the Dev mailing list