blob: a291ee3d4b4614926f718009e1ba16604cdb3bd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
curdir=$(readlink -e $(dirname $0))
source "${curdir}/../lib/common.inc"
testTesting2xAnyPackage() {
releasePackage core pkg-any-a any
../db-update
pushd "${temporary_directory}/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
sudo extra-i686-build >/dev/null 2>&1
mv pkg-any-a-1-2-any.pkg.tar.xz "${pkgdir}/pkg-any-a/"
popd >/dev/null
releasePackage testing pkg-any-a any
../db-update
rm -f "${pkgdir}/pkg-any-a/pkg-any-a-1-2-any.pkg.tar.xz"
../testing2x pkg-any-a
checkAnyPackage core pkg-any-a-1-2-any.pkg.tar.xz any
checkRemovedAnyPackage testing pkg-any-a
}
source "${curdir}/../lib/shunit2"
|