summary refs log tree commit diff
path: root/Test/V04features.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-11-21 23:56:25 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2015-11-21 23:56:25 -0800
commitb1688305cc83e63104d4c581f649bbdcffa0e3b8 (patch)
treecb398b147c03d54bb79e071d810acde5c81b501f /Test/V04features.ztst
parentcce4261a3c6f4bf78b483db61623c80e3c98d10b (diff)
downloadzsh-b1688305cc83e63104d4c581f649bbdcffa0e3b8.tar.gz
zsh-b1688305cc83e63104d4c581f649bbdcffa0e3b8.tar.xz
zsh-b1688305cc83e63104d4c581f649bbdcffa0e3b8.zip
37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip
Diffstat (limited to 'Test/V04features.ztst')
-rw-r--r--Test/V04features.ztst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Test/V04features.ztst b/Test/V04features.ztst
index 2790456e2..6939053e1 100644
--- a/Test/V04features.ztst
+++ b/Test/V04features.ztst
@@ -7,7 +7,8 @@
 # We use zsh/datetime because it has a list of features that is short
 # but contains two types.
 
-  if ! (zmodload zsh/datetime >/dev/null 2>/dev/null); then
+  # Subshell for prep test so we can load individual features later
+  if ! (zmodload zsh/datetime 2>/dev/null); then
     ZTST_unimplemented="can't load the zsh/datetime module for testing"
   fi