From 46141be5f917a47b99c4c3be62c9231ae9afca70 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 5 Oct 2004 10:39:41 +0000 Subject: 20412, tweaked: Make test builtin more POSIX compatible 20435: Make pattern.c not alter strings. --- Src/builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/builtin.c') diff --git a/Src/builtin.c b/Src/builtin.c index 964e701fa..43fe7803a 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -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 */ -- cgit 1.4.1