PR/9847: Geoff C. Wing: Make test(1) a builtin.
This commit is contained in:
parent
e2e5d7bd40
commit
b252543484
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile,v 1.49 1999/07/09 03:05:49 christos Exp $
|
# $NetBSD: Makefile,v 1.50 2000/04/09 23:27:03 christos Exp $
|
||||||
# @(#)Makefile 8.4 (Berkeley) 5/5/95
|
# @(#)Makefile 8.4 (Berkeley) 5/5/95
|
||||||
|
|
||||||
WARNS=2
|
WARNS=2
|
||||||
@ -6,7 +6,8 @@ YHEADER=1
|
|||||||
PROG= sh
|
PROG= sh
|
||||||
SHSRCS= alias.c cd.c echo.c error.c eval.c exec.c expand.c \
|
SHSRCS= alias.c cd.c echo.c error.c eval.c exec.c expand.c \
|
||||||
histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c \
|
histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c \
|
||||||
mystring.c options.c parser.c redir.c show.c trap.c output.c var.c
|
mystring.c options.c parser.c redir.c show.c trap.c output.c var.c \
|
||||||
|
test.c
|
||||||
GENSRCS=arith.c arith.h arith_lex.c builtins.c builtins.h init.c nodes.c \
|
GENSRCS=arith.c arith.h arith_lex.c builtins.c builtins.h init.c nodes.c \
|
||||||
nodes.h syntax.c syntax.h token.h
|
nodes.h syntax.c syntax.h token.h
|
||||||
SRCS= ${SHSRCS} ${GENSRCS}
|
SRCS= ${SHSRCS} ${GENSRCS}
|
||||||
@ -19,7 +20,7 @@ YFLAGS= -d
|
|||||||
|
|
||||||
CPPFLAGS+=-DSHELL -I. -I${.CURDIR}
|
CPPFLAGS+=-DSHELL -I. -I${.CURDIR}
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf
|
.PATH: ${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf ${.CURDIR}/../test
|
||||||
|
|
||||||
CLEANFILES+= mkinit mknodes mksyntax
|
CLEANFILES+= mkinit mknodes mksyntax
|
||||||
CLEANFILES+= ${GENSRCS} y.tab.h
|
CLEANFILES+= ${GENSRCS} y.tab.h
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
# $NetBSD: builtins.def,v 1.14 1997/03/14 01:42:18 christos Exp $
|
# $NetBSD: builtins.def,v 1.15 2000/04/09 23:27:03 christos Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 1991, 1993
|
# Copyright (c) 1991, 1993
|
||||||
# The Regents of the University of California. All rights reserved.
|
# The Regents of the University of California. All rights reserved.
|
||||||
@ -62,7 +62,7 @@ execcmd exec
|
|||||||
exitcmd exit
|
exitcmd exit
|
||||||
expcmd exp let
|
expcmd exp let
|
||||||
exportcmd export readonly
|
exportcmd export readonly
|
||||||
#exprcmd expr test [
|
#exprcmd expr
|
||||||
falsecmd false
|
falsecmd false
|
||||||
histcmd -h fc
|
histcmd -h fc
|
||||||
fgcmd -j fg
|
fgcmd -j fg
|
||||||
@ -90,3 +90,4 @@ waitcmd wait
|
|||||||
#foocmd foo
|
#foocmd foo
|
||||||
aliascmd alias
|
aliascmd alias
|
||||||
ulimitcmd ulimit
|
ulimitcmd ulimit
|
||||||
|
testcmd test [
|
||||||
|
Loading…
Reference in New Issue
Block a user