summaryrefslogtreecommitdiff
path: root/tests/dd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dd')
-rwxr-xr-xtests/dd/stats.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dd/stats.sh b/tests/dd/stats.sh
index a82c66d20..da2c2d25f 100755
--- a/tests/dd/stats.sh
+++ b/tests/dd/stats.sh
@@ -18,8 +18,9 @@
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ dd
+require_trap_signame_
-env kill -l | grep '^INFO$' && SIGINFO='INFO' || SIGINFO='USR1'
+kill -l | grep 'INFO' && SIGINFO='INFO' || SIGINFO='USR1'
# This to avoid races in the USR1 case
# as the dd process will terminate by default until