diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-04-04 16:22:20 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-06-19 21:44:14 -0400 |
commit | c802479271d694608116bc33e7913322ce82511f (patch) | |
tree | a50310f42dc74a69aea960c1246e220233f7ff45 | |
parent | 05dd9be0db06d7f7cea0eff9f9f6f1993eb6d463 (diff) |
test: Fix typoed variableslukeshu/to-upstream/2018-06-16-fix-typoed-variables-v2
- 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 |