summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-02-19 02:21:59 +0100
committerPierre Schmitz <pierre@archlinux.de>2012-02-19 02:21:59 +0100
commitf6235619f379b20fdb5fb11e849bdad60c8503bc (patch)
tree9aa6ef15e7628ba0ada34209a2c3a5674cd9845a /test
parent8d85e0d1617fa319701e1c18b2dfb63ee7012fe7 (diff)
Fix typo and leftover shm usage
Diffstat (limited to 'test')
-rw-r--r--test/lib/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/common.inc b/test/lib/common.inc
index 3eab68e..a703152 100644
--- a/test/lib/common.inc
+++ b/test/lib/common.inc
@@ -71,7 +71,7 @@ setUp() {
local a
[ -f "$(dirname ${BASH_SOURCE[0]})/../../config.local" ] && die "$(dirname ${BASH_SOURCE[0]})/../../config.local exists"
- TMP="$(mktemp -d /dev/shm/${0##*/}.XXXXXXXXXX)"
+ TMP="$(mktemp -d /tmp/${0##*/}.XXXXXXXXXX)"
#msg "Using ${TMP}"
PKGREPOS=('core' 'extra' 'testing')
@@ -131,7 +131,7 @@ releasePackage() {
local pkgname
pushd "${TMP}/svn-packages-copy"/${pkgbase}/trunk/ >/dev/null
- archrelease ${repo}-${arch} >/dev/null 2&>1
+ archrelease ${repo}-${arch} >/dev/null 2>&1
pkgver=$(. PKGBUILD; echo $(get_full_version ${epoch:-0} ${pkgver} ${pkgrel}))
pkgname=($(. PKGBUILD; echo ${pkgname[@]}))
popd >/dev/null