From e74aaf93854b9453b9949954aec77710b257d8b6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 27 Sep 2009 02:05:45 +0200 Subject: ash,hush: make trap output short signal names, without SIG prefix function old new delta evalvar 1373 1371 -2 builtin_trap 457 441 -16 trapcmd 260 236 -24 Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-signals/savetrap.right | 6 +++--- shell/ash_test/ash-signals/signal1.right | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'shell/ash_test/ash-signals') diff --git a/shell/ash_test/ash-signals/savetrap.right b/shell/ash_test/ash-signals/savetrap.right index 9cfd7a5..a59225b 100644 --- a/shell/ash_test/ash-signals/savetrap.right +++ b/shell/ash_test/ash-signals/savetrap.right @@ -1,8 +1,8 @@ trap -- 'echo Exiting' EXIT -trap -- 'echo WINCH!' SIGWINCH +trap -- 'echo WINCH!' WINCH trap -- 'echo Exiting' EXIT -trap -- 'echo WINCH!' SIGWINCH +trap -- 'echo WINCH!' WINCH trap -- 'echo Exiting' EXIT -trap -- 'echo WINCH!' SIGWINCH +trap -- 'echo WINCH!' WINCH Done Exiting diff --git a/shell/ash_test/ash-signals/signal1.right b/shell/ash_test/ash-signals/signal1.right index beb0a98..cf403ac 100644 --- a/shell/ash_test/ash-signals/signal1.right +++ b/shell/ash_test/ash-signals/signal1.right @@ -1,20 +1,20 @@ got signal -trap -- 'echo got signal' SIGUSR1 +trap -- 'echo got signal' USR1 sent 1 signal got signal wait interrupted -trap -- 'echo got signal' SIGUSR1 +trap -- 'echo got signal' USR1 sent 2 signal got signal wait interrupted -trap -- 'echo got signal' SIGUSR1 +trap -- 'echo got signal' USR1 sent 3 signal got signal wait interrupted -trap -- 'echo got signal' SIGUSR1 +trap -- 'echo got signal' USR1 sent 4 signal got signal wait interrupted -trap -- 'echo got signal' SIGUSR1 +trap -- 'echo got signal' USR1 sent 5 signal sleep completed -- cgit v1.1