From: Jim Meyering Date: Tue, 23 Jun 2009 14:53:43 +0000 (+0200) Subject: tests: tail-2/pid: include more info upon failure X-Git-Tag: v7.5~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc66fb4d99f2c7e71fadc85e2be476e817b6573e;p=thirdparty%2Fcoreutils.git tests: tail-2/pid: include more info upon failure * tests/tail-2/pid: Print unexpected $state upon failing. --- diff --git a/tests/tail-2/pid b/tests/tail-2/pid index ff2f099ad7..9d33e4f2f0 100755 --- a/tests/tail-2/pid +++ b/tests/tail-2/pid @@ -46,7 +46,7 @@ state=$(get_process_status_ $pid) if test -n "$state"; then case $state in S*) ;; - *) echo $0: process dead 1>&2; fail=1 ;; + *) echo "$0: process dead? (state=$state)" 1>&2; fail=1 ;; esac kill $pid fi