From 158484941ac1ff20ce93e4aff46fef6cd22dbf91 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Wed, 25 Mar 2015 09:57:23 -0700 Subject: 34774: fix %prep and use read from a no-op pipe to force wait for the timeout --- Test/W01history.ztst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test/W01history.ztst') diff --git a/Test/W01history.ztst b/Test/W01history.ztst index 2492c418f..3a64530c5 100644 --- a/Test/W01history.ztst +++ b/Test/W01history.ztst @@ -2,7 +2,7 @@ %prep - [[ -t 0 ]] && print -u $ZTST_fd History tests write to /dev/tty + if [[ -t 0 ]]; then print -u $ZTST_fd History tests write to /dev/tty; fi %test -- cgit 1.4.1