about summary refs log tree commit diff
path: root/Test/V02zregexparse.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/V02zregexparse.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/V02zregexparse.ztst')
-rw-r--r--Test/V02zregexparse.ztst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Test/V02zregexparse.ztst b/Test/V02zregexparse.ztst
index ddca3c903..b4cec424e 100644
--- a/Test/V02zregexparse.ztst
+++ b/Test/V02zregexparse.ztst
@@ -2,7 +2,9 @@
 
 %prep
 
-  zmodload zsh/zutil
+ if ! zmodload zsh/zutil 2>/dev/null; then
+   ZTST_unimplemented="can't load the zsh/zutil module for testing"
+ fi
 
 %test