diff options
Diffstat (limited to 't/tap-signal.tap')
-rw-r--r-- | t/tap-signal.tap | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/t/tap-signal.tap b/t/tap-signal.tap index f1a81308b..b3ac57780 100644 --- a/t/tap-signal.tap +++ b/t/tap-signal.tap @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011-2013 Free Software Foundation, Inc. +# Copyright (C) 2011-2014 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -93,13 +93,8 @@ signal_caught () esac wbound_re="($|[^a-zA-Z0-9_-])" pfx_re="^ERROR: signal-$numeric\\.test" - case $am_tap_implementation in - # Dummy escape to please maintainer-check. - per\l) rx="$pfx_re - terminated by signal $sig_re$";; - shell) rx="$pfx_re .*terminated by signal $sig_re$wbound_re";; - *) fatal_ "invalid \$am_tap_implementation '$am_tap_implementation'";; - esac - desc="TAP driver catch test termination by signal SIG$symbolic" + rx="${pfx_re} .*terminated by signal ${sig_re}${wbound_re}" + desc="TAP driver catch test termination by signal SIG${symbolic}" case " $blocked_signals " in *" $numeric "*) skip_ -r "SIG$symbolic is blocked" "$desc" ;; *) command_ok_ "$desc" env LC_ALL=C $EGREP "$rx" stdout ;; |