diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-03-26 13:35:59 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-03-26 13:35:59 +0100 |
commit | 575ba47d34870f8d7e83bc05f274f40a2d52d8fe (patch) | |
tree | 88316fc256f1c380f401872a47feb9323f906f0b /test/test.d/ftpdir-cleanup.sh | |
parent | d568b8aeb0be95d6a1da7da0434de23e6b2260e2 (diff) |
Adjust test for latest devtools; Be less generic with package extension
Diffstat (limited to 'test/test.d/ftpdir-cleanup.sh')
-rwxr-xr-x | test/test.d/ftpdir-cleanup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.d/ftpdir-cleanup.sh b/test/test.d/ftpdir-cleanup.sh index 17287f5..77b02b8 100755 --- a/test/test.d/ftpdir-cleanup.sh +++ b/test/test.d/ftpdir-cleanup.sh @@ -106,13 +106,13 @@ testCleanupSplitPackages() { ../cron-jobs/ftpdir-cleanup >/dev/null for arch in ${arches[@]}; do - for pkg in "${pkgdir}/${pkgs[0]}"/*-${arch}.pkg.tar.*; do + for pkg in "${pkgdir}/${pkgs[0]}"/*-${arch}${PKGEXT}; do checkRemovedPackage extra ${pkgs[0]} ${arch} [ -f "${FTP_BASE}/${PKGPOOL}/${pkg}" ] && fail "${PKGPOOL}/${pkg} found" [ -f "${FTP_BASE}/${repo}/os/${arch}/${pkg}" ] && fail "${repo}/os/${arch}/${pkg} found" done - for pkg in "${pkgdir}/${pkgs[1]}"/*-${arch}.pkg.tar.*; do + for pkg in "${pkgdir}/${pkgs[1]}"/*-${arch}${PKGEXT}; do checkPackage extra $(basename ${pkg}) ${arch} done done |