blob: b4ccf6ec083c89a0ed05937b056c3b1cc09fd856 (
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
|
#!/bin/sh
# This is a testsuite.
PBUILDER_UML=/usr/bin/pbuilder-user-mode-linux
pbuilder-user-mode-linux test --configfile non-existing-configfile
if [ -x "${PBUILDER_UML}" ]; then
for distribution in sid sarge; do
pbuilder-user-mode-linux create --mirror http://ring.asahi-net.or.jp/archives/linux/debian/debian --distribution "${distribution}" --uml-image $(pwd)/testimage --logfile pbuilder-user-mode-linux-create-${distribution}.log
for PKG in dsh; do
(
mkdir testbuild
cd testbuild
apt-get source -d ${PKG}
)
pbuilder-user-mode-linux build --uml-image $(pwd)/testimage --buildplace $(pwd)/testbuild/ --logfile pbuilder-user-mode-linux-build-${PKG}-${distribution}.log testbuild/${PKG}*.dsc
done
rm -rf testbuild testimage
done
fi
|