summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-21 14:43:16 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-21 14:43:16 +0000
commit5200ae0b803f2a653b91bab73310bc55d152aaa7 (patch)
treeb9f17ef14f1fc9ce67a36098ea61f8d051ff1b0c /contrib
parentf965232ff1c1b9c12f2c60952f99ac379ecf0d52 (diff)
downloadgcc-5200ae0b803f2a653b91bab73310bc55d152aaa7.tar.gz
contrib/
* repro_fail: filter out "-ignore SIGHUP" from the spawn lines git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199147 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/repro_fail6
2 files changed, 8 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 1fd90b75a08..e563275dc95 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-21 David Malcolm <dmalcolm@redhat.com>
+
+ * repro_fail: filter out "-ignore SIGHUP" from the spawn lines
+
2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config-list.mk (LIST): Add -enable-obsolete for
diff --git a/contrib/repro_fail b/contrib/repro_fail
index b28a7127b1e..9ea79f2bccf 100755
--- a/contrib/repro_fail
+++ b/contrib/repro_fail
@@ -4,7 +4,7 @@
#
# Contributed by Diego Novillo <dnovillo@google.com>
#
-# Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+# Copyright (C) 2011, 2012, 2013 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
@@ -56,7 +56,9 @@ logf="$2"
shift 2
# Find the commands in LOGF that reference PATTERN.
-lines=$(grep -E "^spawn .*$pattern" $logf | sed -e 's/^spawn //')
+lines=$(grep -E "^spawn .*$pattern" $logf \
+ | sed -e 's/^spawn -ignore SIGHUP //' \
+ | sed -e 's/^spawn //')
if [ -z "$lines" ] ; then
echo "Could not find a spawn command for pattern $pattern"
exit 1