From 43d480057b2255d4fc82cc4eded038bcea0b5cb6 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 10 Mar 2005 17:55:37 +0000 Subject: 20959: fix crash unloading zsh/parameter and test the fix --- Test/V01zmodload.ztst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Test/V01zmodload.ztst') diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index 3787024e1..d26ae1e42 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -151,11 +151,12 @@ zmodload -e example 1:Delete the module alias again -# Don't unload the two modules that are required by the test system! +# Don't unload the main module. +# Do unload zsh/parameter, but reload it as it is needed. mods[(r)zsh/main]=() - mods[(r)zsh/parameter]=() zmodunload $mods + zmodload zsh/parameter 0d:Unload the modules loaded by this test suite %clean -- cgit 1.4.1