Sync usage with man page.
[netbsd-mini2440.git] / tests / util / make / d_posix.mk
blob01ff7644eef48370f9d44aa209ab9f6facb14950
1 # $NetBSD$
3 all: x plus subs err
5 x:
6 @echo "Posix says we should execute the command as if run by system(3)"
7 @echo "Expect 'Hello,' and 'World!'"
8 @echo Hello,; false; echo "World!"
10 plus:
11 @echo a command
12 +@echo "a command prefixed by '+' executes even with -n"
13 @echo another command
15 subs:
16 @echo make -n
17 @${.MAKE} -f ${MAKEFILE} -n plus
18 @echo make -n -j1
19 @${.MAKE} -f ${MAKEFILE} -n -j1 plus
21 err:
22 @(echo Now we expect an error...; exit 1)
23 @echo "Oops! you shouldn't see this!"