aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/B92test-pkg8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/B92test-pkg b/examples/B92test-pkg
index 078e62f..40f25a4 100644
--- a/examples/B92test-pkg
+++ b/examples/B92test-pkg
@@ -5,9 +5,10 @@ set -e
echo "Installing the prerequisites"
for PKG in $(ls /tmp/buildd/*.deb | sed -e's,.*/,,;s,_.*,,' ); do
- apt-get install -y --force-yes "$PKG"
- apt-get remove -y "$PKG"
+ apt-get install -y --force-yes "$PKG" || true
+ apt-get remove -y "$PKG" || true
done
+# ignore the failures since they are not the prime interest
dpkg -i /tmp/buildd/*.deb
@@ -17,6 +18,9 @@ COUNT=0
unset FAIL || true
NOFAIL=1
+# make current directory a better place to live.
+cd /tmp/buildd/*/debian/..
+
for SCRIPT in $(run-parts --test /tmp/buildd/*/debian/pbuilder-test) ; do
echo "--- BEGIN test: ${SCRIPT##*/}"
if "${SCRIPT}"; then