mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 17:20:25 +02:00
20412, tweaked: Make test builtin more POSIX compatible
20435: Make pattern.c not alter strings.
This commit is contained in:
parent
684da738b0
commit
46141be5f9
7 changed files with 198 additions and 90 deletions
|
|
@ -4851,7 +4851,7 @@ bin_test(char *name, char **argv, UNUSED(Options ops), int func)
|
|||
state.strs = prog->strs;
|
||||
|
||||
|
||||
return !evalcond(&state);
|
||||
return evalcond(&state, name);
|
||||
}
|
||||
|
||||
/* display a time, provided in units of 1/60s, as minutes and seconds */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue