tags 801372 pending patch
Description: Make test-sig test script more reproducible.
 Since version 4.3.0.91+ds-3 the core Build servers have built okay
 but the reproducibility server has failed because a difference
 in SIGXFSZ trapping was detected. This is to keep it in a
 known state.
Author: Nicholas Bamber <nicho...@periapt.co.uk>
Forwarded: no
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801372
Last-Update: 2015-10-09
Index: bashdb/test/integration/test-sig.in
===================================================================
--- bashdb.orig/test/integration/test-sig.in
+++ bashdb/test/integration/test-sig.in
@@ -3,6 +3,10 @@
 t=${0##*/}; TEST_NAME=${t:5}   # basename $0 with 'test-' stripped off
 SH=@SH_PROG@
 
+# Put this trap into a known state to make the test more reproducible.
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801372
+trap '' SIGXFSZ
+
 [ -z "$builddir" ] && export builddir=$PWD
 
 . ${builddir}/check-common.sh
Index: bashdb/test/data/sig-43.right
===================================================================
--- bashdb.orig/test/data/sig-43.right
+++ bashdb/test/data/sig-43.right
@@ -12,6 +12,7 @@ SIGQUIT      stop   print   showstack tr
 SIGILL       stop   print   showstack trap -- '_Dbg_sig_handler 4 "$BASH_COMMAND" "$@"' SIGILL
 SIGTRAP      stop   print   showstack trap -- '_Dbg_sig_handler 5 "$BASH_COMMAND" "$@"' SIGTRAP
 SIGTERM      stop   print   showstack trap -- '_Dbg_sig_handler 15 "$BASH_COMMAND" "$@"' SIGTERM
+SIGXFSZ      nostop noprint nostack   trap -- '' SIGXFSZ
 +### Testing handle command...
 +handle TERM nostack
 +handle foo
@@ -52,5 +53,6 @@ SIGQUIT      stop   print   showstack tr
 SIGILL       stop   print   showstack trap -- '_Dbg_sig_handler 4 "$BASH_COMMAND" "$@"' SIGILL
 SIGTRAP      stop   print   showstack trap -- '_Dbg_sig_handler 5 "$BASH_COMMAND" "$@"' SIGTRAP
 SIGTERM      stop   noprint showstack trap -- '_Dbg_sig_handler 15 "$BASH_COMMAND" "$@"' SIGTERM
+SIGXFSZ      nostop noprint nostack   trap -- '' SIGXFSZ
 +quit
 bashdb: That's all, folks...

Reply via email to