diff options
Diffstat (limited to 'debian/tests/regress')
-rwxr-xr-x | debian/tests/regress | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/debian/tests/regress b/debian/tests/regress index 37f9fe6a2..f3352e3d2 100755 --- a/debian/tests/regress +++ b/debian/tests/regress | |||
@@ -45,6 +45,7 @@ make regress-binaries | |||
45 | 45 | ||
46 | SRCDIR="$(pwd)" | 46 | SRCDIR="$(pwd)" |
47 | BUILDDIR="$SRCDIR" | 47 | BUILDDIR="$SRCDIR" |
48 | ret=0 | ||
48 | make -C regress \ | 49 | make -C regress \ |
49 | .OBJDIR="$BUILDDIR/regress" \ | 50 | .OBJDIR="$BUILDDIR/regress" \ |
50 | .CURDIR="$SRCDIR/regress" \ | 51 | .CURDIR="$SRCDIR/regress" \ |
@@ -58,4 +59,12 @@ make -C regress \ | |||
58 | TEST_SSH_CONCH=conch \ | 59 | TEST_SSH_CONCH=conch \ |
59 | TEST_SSH_IPV6=yes \ | 60 | TEST_SSH_IPV6=yes \ |
60 | TEST_SSH_ECC=yes \ | 61 | TEST_SSH_ECC=yes \ |
61 | tests interop-tests </dev/zero | 62 | tests interop-tests </dev/zero || ret="$?" |
63 | if [ "$ret" -ne 0 ]; then | ||
64 | for log in failed-regress.log failed-ssh.log failed-sshd.log; do | ||
65 | if [ -e "$BUILDDIR/regress/$log" ]; then | ||
66 | tail -v -n+0 "$BUILDDIR/regress/$log" | ||
67 | fi | ||
68 | done | ||
69 | fi | ||
70 | exit "$ret" | ||