summaryrefslogtreecommitdiff
path: root/test/test.d/pool-transition.sh
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-24 00:26:02 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-24 00:26:02 -0300
commitab53d40da0070cff1f1d3bbae8664918a90076b7 (patch)
tree7f1b65677060635944e09711c98385c2ba07d753 /test/test.d/pool-transition.sh
parent922976d3d2fc5279070860fc7a4541160ef72fe1 (diff)
remane main -> native (if not derivation) and native -> main (if not multilib)
Diffstat (limited to 'test/test.d/pool-transition.sh')
-rwxr-xr-xtest/test.d/pool-transition.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test.d/pool-transition.sh b/test/test.d/pool-transition.sh
index ff5b3ea..390d097 100755
--- a/test/test.d/pool-transition.sh
+++ b/test/test.d/pool-transition.sh
@@ -24,7 +24,7 @@ testMovePackagesWithoutPool() {
for old in 0 2; do
for pkg in "${pkgdir}/${pkgs[${old}]}"/*-${arch}${package_extension_suffixfile}; do
pkg=$(basename $pkg)
- mv -f "${root_dir}/${main_packages_pool}/${pkg}" "${root_dir}/testing/os/${arch}/${pkg}"
+ mv -f "${root_dir}/${native_packages_pool}/${pkg}" "${root_dir}/testing/os/${arch}/${pkg}"
done
done
done
@@ -55,7 +55,7 @@ testUpdateAnyPackageWithoutPool() {
releasePackage extra pkg-any-a any
../db-update
# transform two packages to old style layout
- mv -f "${root_dir}/${main_packages_pool}/${pkg1}" "${root_dir}/extra/os/any"
+ mv -f "${root_dir}/${native_packages_pool}/${pkg1}" "${root_dir}/extra/os/any"
for arch in i686 x86_64; do
ln -sf "../any/${pkg1}" "${root_dir}/extra/os/${arch}"
done
@@ -75,7 +75,7 @@ testUpdateAnyPackageWithoutPool() {
checkAnyPackage extra "${pkg2}"
- [ -f "${root_dir}/${main_packages_pool}/${pkg1}" ] && fail "${main_packages_pool}/${pkg1} found"
+ [ -f "${root_dir}/${native_packages_pool}/${pkg1}" ] && fail "${native_packages_pool}/${pkg1} found"
for arch in any i686 x86_64; do
[ -f "${root_dir}/extra/os/${arch}/${pkg1}" ] && fail "extra/os/${arch}/${pkg1} found"
done
@@ -96,7 +96,7 @@ testMoveAnyPackagesWithoutPool() {
# transform a package to old style layout
for pkg in "${pkgdir}/${pkgs[0]}"/*-any${package_extension_suffixfile}; do
pkg=$(basename $pkg)
- mv -f "${root_dir}/${main_packages_pool}/${pkg}" "${root_dir}/testing/os/any/${pkg}"
+ mv -f "${root_dir}/${native_packages_pool}/${pkg}" "${root_dir}/testing/os/any/${pkg}"
for arch in i686 x86_64; do
ln -sf "../any/${pkg}" "${root_dir}/testing/os/${arch}/${pkg}"
done
@@ -133,7 +133,7 @@ testUpdateSameAnyPackageToDifferentRepositoriesWithoutPool() {
# transform a package to old style layout
for pkg in "${pkgdir}/pkg-any-a"/*-any${package_extension_suffixfile}; do
pkg=$(basename $pkg)
- mv -f "${root_dir}/${main_packages_pool}/${pkg}" "${root_dir}/extra/os/any/${pkg}"
+ mv -f "${root_dir}/${native_packages_pool}/${pkg}" "${root_dir}/extra/os/any/${pkg}"
for arch in i686 x86_64; do
ln -sf "../any/${pkg}" "${root_dir}/extra/os/${arch}/${pkg}"
done