diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-04-04 16:22:20 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2018-07-03 21:55:41 -0400 |
commit | 08995618eb606523b7d05ac987b1243981290839 (patch) | |
tree | 74956876d7da8e7d2d21896de36c4facb1642dc3 | |
parent | 9de966ba08e4d697404cc630ffa514ba18b1bace (diff) |
test: Fix typoed variablesarchlinux/2018060320180603
- ftpdir-cleanup: ${pkg[0]} -> ${pkgs[0]}
This mistake was introduced in 7628525156110022fa70ad91e4bc13ee8a3cceb0
- test: common.bash: $pkgarches[@] -> ${pkgarches[@]}
This mistake was introduced in 7628525156110022fa70ad91e4bc13ee8a3cceb0
-rw-r--r-- | test/cases/ftpdir-cleanup.bats | 2 | ||||
-rw-r--r-- | test/lib/common.bash | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cases/ftpdir-cleanup.bats b/test/cases/ftpdir-cleanup.bats index 8c713c6..74215d0 100644 --- a/test/cases/ftpdir-cleanup.bats +++ b/test/cases/ftpdir-cleanup.bats @@ -111,7 +111,7 @@ __checkRepoRemovedPackage() { ftpdir-cleanup for arch in ${arches[@]}; do - __checkRepoRemovedPackage extra ${pkg[0]} ${arch} + __checkRepoRemovedPackage extra ${pkgs[0]} ${arch} done checkRemovedPackage extra ${pkgs[0]} diff --git a/test/lib/common.bash b/test/lib/common.bash index 738cc97..b843817 100644 --- a/test/lib/common.bash +++ b/test/lib/common.bash @@ -272,7 +272,7 @@ checkRemovedPackageDB() { if [[ ${pkgarches[@]} == any ]]; then tarches=(${ARCHES[@]}) else - tarches=($pkgarches[@]) + tarches=(${pkgarches[@]}) fi for db in ${DBEXT} ${FILESEXT}; do |