diff options
author | obrien <obrien@FreeBSD.org> | 2010-01-04 09:49:23 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-01-04 09:49:23 +0000 |
commit | 9f5a22f4e5ca6d97484defe0a4012f50f2c3332a (patch) | |
tree | b331ca6ff8d4aa21314a477c1f885482050ec1ac /tools | |
parent | 05cd6c9186e0e2817e037e7975b718edf16dfc1c (diff) | |
download | FreeBSD-src-9f5a22f4e5ca6d97484defe0a4012f50f2c3332a.zip FreeBSD-src-9f5a22f4e5ca6d97484defe0a4012f50f2c3332a.tar.gz |
Regression test for r201456.
Diffstat (limited to 'tools')
5 files changed, 25 insertions, 0 deletions
diff --git a/tools/regression/usr.bin/make/syntax/directive-t0/Makefile b/tools/regression/usr.bin/make/syntax/directive-t0/Makefile new file mode 100644 index 0000000..0f95a21 --- /dev/null +++ b/tools/regression/usr.bin/make/syntax/directive-t0/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ +# +# A typo'ed directive. +# + +.uudef foo + +all: diff --git a/tools/regression/usr.bin/make/syntax/directive-t0/expected.status.1 b/tools/regression/usr.bin/make/syntax/directive-t0/expected.status.1 new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tools/regression/usr.bin/make/syntax/directive-t0/expected.status.1 @@ -0,0 +1 @@ +1 diff --git a/tools/regression/usr.bin/make/syntax/directive-t0/expected.stderr.1 b/tools/regression/usr.bin/make/syntax/directive-t0/expected.stderr.1 new file mode 100644 index 0000000..de66fcc --- /dev/null +++ b/tools/regression/usr.bin/make/syntax/directive-t0/expected.stderr.1 @@ -0,0 +1,2 @@ +"Makefile", line 6: Unknown directive +make: fatal errors encountered -- cannot continue diff --git a/tools/regression/usr.bin/make/syntax/directive-t0/expected.stdout.1 b/tools/regression/usr.bin/make/syntax/directive-t0/expected.stdout.1 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tools/regression/usr.bin/make/syntax/directive-t0/expected.stdout.1 diff --git a/tools/regression/usr.bin/make/syntax/directive-t0/test.t b/tools/regression/usr.bin/make/syntax/directive-t0/test.t new file mode 100644 index 0000000..4b71de3 --- /dev/null +++ b/tools/regression/usr.bin/make/syntax/directive-t0/test.t @@ -0,0 +1,14 @@ +#! /bin/sh +# $FreeBSD$ + +cd `dirname $0` +. ../../common.sh + +# Description +DESC="A typo'ed directive." + +# Run +TEST_N=1 +TEST_1= + +eval_cmd $* |