diff options
author | Jonas Smedegaard <dr@jones.dk> | 2016-07-09 17:17:05 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2016-07-09 17:17:05 +0200 |
commit | c367bf8892f3cdbcea75952afafc2740ba7843ac (patch) | |
tree | cac2d56df347cf0bb5c1c26fc14adf5b1e2d4bce | |
parent | b0d47f3d0654bdf6843df9a0c38caa135409b641 (diff) |
Incoke shell if autopkgtest fails.
-rwxr-xr-x | pbuilder/hooks/B20autopkgtest | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pbuilder/hooks/B20autopkgtest b/pbuilder/hooks/B20autopkgtest index b8d4f84..27c4ac2 100755 --- a/pbuilder/hooks/B20autopkgtest +++ b/pbuilder/hooks/B20autopkgtest @@ -86,6 +86,10 @@ tar -caf "$BUILDDIR/autopkgtest.tar.gz" "$BUILDDIR/autopkgtest.out" case ${EXIT:-0} in 2|4|6|8) # let adtsummary_tap report the failure + BUILDDIR="${BUILDDIR:-/tmp/buildd}" + #apt-get install -y "${APTGETOPT[@]}" vim less + cd "$BUILDDIR"/*/debian/.. + /bin/bash < /dev/tty > /dev/tty 2> /dev/tty exit 0 ;; *) |