+openafs (1.8.0~pre1-4) UNRELEASED; urgency=medium
+
+ * debian/patches/0006-softsig-helper-fix-signame-loop.patch
+ Fix test failures on 32-bit architectures.
+ * debian/patches/0007-Run-jhash-t-verbosely.patch
+ Provide more output from failing tests.
+
+ -- Benjamin Kaduk <kaduk@mit.edu> Thu, 15 Dec 2016 23:48:00 -0500
+
openafs (1.8.0~pre1-3) experimental; urgency=medium
* Replace hard-coded x86_64-linux-gnu with DEB_HOST_MULTIARCH.
--- /dev/null
+From: Benjamin Kaduk <kaduk@mit.edu>
+Date: Thu, 15 Dec 2016 22:29:41 -0600
+Subject: softsig-helper: fix signame() loop
+
+We want to iterate through the length of the array, not whatever
+sizeof(<length of the array>) happens to evaluate to.
+
+Change-Id: I5d939e241e848ed800524d5f501e0504d2b0b42d
+---
+ tests/opr/softsig-helper.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/opr/softsig-helper.c b/tests/opr/softsig-helper.c
+index 91fa351..416f07c 100644
+--- a/tests/opr/softsig-helper.c
++++ b/tests/opr/softsig-helper.c
+@@ -55,7 +55,7 @@ static struct sigtable {
+ static char *signame(int signo) {
+ int i;
+
+- for (i = 0; i < sizeof(sizeof(sigtable) / sizeof(sigtable[0])); ++i) {
++ for (i = 0; i < sizeof(sigtable) / sizeof(sigtable[0]); ++i) {
+ if (sigtable[i].signo == signo) {
+ return sigtable[i].name;
+ }
--- /dev/null
+From: Benjamin Kaduk <kaduk@mit.edu>
+Date: Thu, 15 Dec 2016 23:46:09 -0500
+Subject: Run jhash-t verbosely
+
+It's failing on several buildds and we need more information to
+debug why.
+---
+ tests/Makefile.in | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tests/Makefile.in b/tests/Makefile.in
+index 23f1fa0..0e01fcb 100644
+--- a/tests/Makefile.in
++++ b/tests/Makefile.in
+@@ -23,6 +23,8 @@ runtests.o: $(srcdir)/runtests.c
+ check test tests: runtests
+ @for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done
+ MAKECHECK=1 ./libwrap @TOP_OBJDIR@/lib \
++ ./runtests -o $(abs_top_srcdir)/tests/opr/jhash
++ MAKECHECK=1 ./libwrap @TOP_OBJDIR@/lib \
+ ./runtests $(abs_top_srcdir)/tests/TESTS
+
+ install:
-From d0ce961499d72768168a98c9321c80943b9a3c75 Mon Sep 17 00:00:00 2001
From: Anders Kaseorg <andersk@mit.edu>
Date: Wed, 14 Dec 2016 17:52:35 -0500
Subject: opr: ExitHandler: re-raise the signal instead of exiting with that
code
MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
+Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
This fixes a ‘make check’ failure introduced by commit
1 file changed, 7 insertions(+)
diff --git a/src/opr/softsig.c b/src/opr/softsig.c
-index 4a210ad65..469bd43e1 100644
+index 4a210ad..469bd43 100644
--- a/src/opr/softsig.c
+++ b/src/opr/softsig.c
@@ -82,6 +82,13 @@ signalHandler(void *arg)
exit(signal);
}
---
-2.11.0
-
0003-Catch-up-to-roken-s-rename-of-base64-symbols.patch
tests-opr-softsig-t-Avoid-hanging-due-to-intermediat.patch
opr-ExitHandler-re-raise-the-signal-instead-of-exiti.patch
+0006-softsig-helper-fix-signame-loop.patch
+0007-Run-jhash-t-verbosely.patch
-From 62be24b3cc7ea4b422b9d89d791e8fb11e244a55 Mon Sep 17 00:00:00 2001
From: Anders Kaseorg <andersk@mit.edu>
Date: Wed, 14 Dec 2016 15:47:21 -0500
Subject: tests/opr/softsig-t: Avoid hanging due to intermediate sh -c
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/tests/opr/softsig-t b/tests/opr/softsig-t
-index 89e66e5df..533feb4fd 100755
+index 89e66e5..533feb4 100755
--- a/tests/opr/softsig-t
+++ b/tests/opr/softsig-t
@@ -33,8 +33,14 @@ use FindBin qw($Bin);
or die "Couldn't start test helper.";
close(HELPER);
is($? & 0x7f, $sigbus, "Helper exited on BUS signal.");
---
-2.11.0
-