mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
23733: zmodload -LaF didn't include unloaded modules
This commit is contained in:
parent
6c60a8ec79
commit
eedfdb916a
3 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2007-07-31 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 23733: Src/module.c, Test/V01zmodload.ztst: zmodload -LaF
|
||||
didn't include unloaded modules, making it a bit pointless.
|
||||
|
||||
* 23732: Src/exec.c, Test/B02tyepset.ztst: unknown builtin
|
||||
error message was broken; test warning output was broken;
|
||||
exec of zsh in new env test was broken.
|
||||
|
|
|
@ -215,7 +215,7 @@ printmodulenode(HashNode hn, int flags)
|
|||
fputs(" -> ", stdout);
|
||||
nicezputs(m->u.alias, stdout);
|
||||
}
|
||||
} else if (m->u.handle) {
|
||||
} else if (m->u.handle || (flags & PRINTMOD_AUTO)) {
|
||||
/*
|
||||
* Loaded module.
|
||||
*/
|
||||
|
|
|
@ -260,6 +260,11 @@
|
|||
zmodload zsh/parameter
|
||||
0d:Unload the modules loaded by this test suite
|
||||
|
||||
zmodload -aF zsh/zftp b:zftp
|
||||
zmodload -LaF | grep zftp
|
||||
0:Listing feature autoloads includes unloaded modules
|
||||
>zmodload -Fa zsh/zftp b:zftp
|
||||
|
||||
%clean
|
||||
|
||||
eval "$deps"
|
||||
|
|
Loading…
Reference in a new issue