diff options
Diffstat (limited to 'bin/test/test.c')
-rw-r--r-- | bin/test/test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/test/test.c b/bin/test/test.c index 1d96297..1cd9a11 100644 --- a/bin/test/test.c +++ b/bin/test/test.c @@ -27,6 +27,11 @@ static const char rcsid[] = #include <string.h> #include <unistd.h> +#ifdef SHELL +#define main testcmd +#include "bltin/bltin.h" +#endif + /* test(1) accepts the following grammar: oexpr ::= aexpr | aexpr "-o" oexpr ; aexpr ::= nexpr | nexpr "-a" aexpr ; |