summaryrefslogtreecommitdiff
path: root/test/test.d
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-10-27 14:32:39 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-10-27 14:39:47 +0200
commitb2952784db9995ecc21d3a770530a19394234d3b (patch)
tree8fedbc5d9b3c309554a45aaf31d414332e28adf0 /test/test.d
parenta539598c640caa92e2b1967949836d73c5264036 (diff)
Add the possibility to run all svn commands with a different user
* A SVNUSER can be configured in the config file * This user needs to be able to call svn without a password
Diffstat (limited to 'test/test.d')
-rwxr-xr-xtest/test.d/db-update.sh4
-rwxr-xr-xtest/test.d/testing2x.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test.d/db-update.sh b/test/test.d/db-update.sh
index 67bca9f..ea1e130 100755
--- a/test/test.d/db-update.sh
+++ b/test/test.d/db-update.sh
@@ -81,7 +81,7 @@ testUpdateAnyPackage() {
pushd "${TMP}/svn-packages-copy/pkg-any-a/trunk/" >/dev/null
sed 's/pkgrel=1/pkgrel=2/g' -i PKGBUILD
- svn commit -q -m"update pkg to pkgrel=2" >/dev/null
+ arch_svn commit -q -m"update pkg to pkgrel=2" >/dev/null
sudo extra-i686-build
mv pkg-any-a-1-2-any.pkg.tar.xz "${pkgdir}/pkg-any-a/"
popd >/dev/null
@@ -99,7 +99,7 @@ testUpdateAnyPackageToDifferentRepositoriesAtOnce() {
pushd "${TMP}/svn-packages-copy/pkg-any-a/trunk/" >/dev/null
sed 's/pkgrel=1/pkgrel=2/g' -i PKGBUILD
- svn commit -q -m"update pkg to pkgrel=2" >/dev/null
+ arch_svn commit -q -m"update pkg to pkgrel=2" >/dev/null
sudo extra-i686-build
mv pkg-any-a-1-2-any.pkg.tar.xz "${pkgdir}/pkg-any-a/"
popd >/dev/null
diff --git a/test/test.d/testing2x.sh b/test/test.d/testing2x.sh
index 357f3c2..31d85b4 100755
--- a/test/test.d/testing2x.sh
+++ b/test/test.d/testing2x.sh
@@ -9,7 +9,7 @@ testTesting2xAnyPackage() {
pushd "${TMP}/svn-packages-copy/pkg-any-a/trunk/" >/dev/null
sed 's/pkgrel=1/pkgrel=2/g' -i PKGBUILD
- svn commit -q -m"update pkg to pkgrel=2" >/dev/null
+ arch_svn commit -q -m"update pkg to pkgrel=2" >/dev/null
sudo extra-i686-build
mv pkg-any-a-1-2-any.pkg.tar.xz "${pkgdir}/pkg-any-a/"
popd >/dev/null