diff options
Diffstat (limited to 't/tap-signal.tap')
-rw-r--r-- | t/tap-signal.tap | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/t/tap-signal.tap b/t/tap-signal.tap index f1a81308b..70fe5c19d 100644 --- a/t/tap-signal.tap +++ b/t/tap-signal.tap @@ -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 ;; |