From 2f3e60ab51648c4e0cf0e686600428cd5f56aa66 Mon Sep 17 00:00:00 2001 From: David Levine Date: Thu, 31 Jan 2013 20:04:50 -0600 Subject: [PATCH] it looks like the write to /dev/tty is causing the warning from test-pick on Solaris, here's an attempt to squelch that. --- test/pick/test-pick | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pick/test-pick b/test/pick/test-pick index 3fff7775..eb8d9884 100755 --- a/test/pick/test-pick +++ b/test/pick/test-pick @@ -99,8 +99,8 @@ cat >"$expected" </dev/null; then - if printf '' >/dev/tty; then +if test -w /dev/tty; then + if (printf '' >/dev/tty) 2>/dev/null; then # Produce no standard output if no messages match and standard # output is a tty. To test that even when run with stdout # detached, write directly to /dev/tty. Can't capture the -- 2.56.0