summary refs log tree commit diff
path: root/Test/B01cd.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/B01cd.ztst')
-rw-r--r--Test/B01cd.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/B01cd.ztst b/Test/B01cd.ztst
index 94447e717..8d4f0955c 100644
--- a/Test/B01cd.ztst
+++ b/Test/B01cd.ztst
@@ -137,6 +137,10 @@ F:something is broken.  But you already knew that.
 0:
 ?(eval):cd:3: not a directory: link_to_nonexistent
 
+ (unset HOME; ARGV0=sh $ZTST_testdir/../Src/zsh -c cd)
+1:Implicit cd with unset HOME.
+?zsh:cd:1: HOME not set
+
 %clean
 # This optional section cleans up after the test, if necessary,
 # e.g. killing processes etc.  This is in addition to the removal of *.tmp