summaryrefslogtreecommitdiff
path: root/tests/tail-2
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-06-23 16:53:43 +0200
committerJim Meyering <meyering@redhat.com>2009-06-23 16:53:43 +0200
commitfc66fb4d99f2c7e71fadc85e2be476e817b6573e (patch)
tree8711a1a8aa0d3d828835f1a11930515d64cf1e8b /tests/tail-2
parent0975852c5036b54d6d1fa18574d11db5943fba21 (diff)
downloadcoreutils-fc66fb4d99f2c7e71fadc85e2be476e817b6573e.tar.xz
tests: tail-2/pid: include more info upon failure
* tests/tail-2/pid: Print unexpected $state upon failing.
Diffstat (limited to 'tests/tail-2')
-rwxr-xr-xtests/tail-2/pid2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tail-2/pid b/tests/tail-2/pid
index ff2f099ad..9d33e4f2f 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