about summary refs log tree commit diff
path: root/Test/W01history.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/W01history.ztst')
-rw-r--r--Test/W01history.ztst2
1 files changed, 1 insertions, 1 deletions
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