Subject: Which one is preferred: ${TEST} or [ ... ]
To: NetBSD Packages Technical Discussion List <tech-pkg@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 11/05/2006 13:46:13
Hi,

in the pkgsrc code, there are many places where ${TEST} is used, as well 
as [ ... ], which is usually a shell builtin. Since ${TEST} is defined 
to a simple "test", which is usually also a shell builtin, there is no 
difference at all. Except ...

mk/tools/tools.{DragonFly,Interix}.mk define TEST to something different 
from the shell builtin. Why?

Roland