diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-12-08 03:43:13 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-12-08 03:43:13 +0000 |
commit | 9d2b414e9c2cd9eae38ac1aec60343dac2fabaee (patch) | |
tree | 86aa897d6857fdd3006cfd6be2b136d0cc243c52 | |
parent | b666d6024c55d36f74e7b552de695e272c66d3e8 (diff) |
Add some more makefiles that often cause a crash.
Found with the afl fuzzer.
-rw-r--r-- | regress/usr.bin/make/Makefile | 10 | ||||
-rw-r--r-- | regress/usr.bin/make/mk37 | 2 | ||||
-rw-r--r-- | regress/usr.bin/make/mk38 | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile index 28899e0b278..8f86b2ccd4a 100644 --- a/regress/usr.bin/make/Makefile +++ b/regress/usr.bin/make/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.37 2014/12/07 15:02:27 jsg Exp $ +# $OpenBSD: Makefile,v 1.38 2014/12/08 03:43:12 jsg Exp $ # We don't pass t7, t13, t14, t17, t19, t20 t21 t26 # and t16 yields piss poor performance REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 \ t13 t14 t15 t16 t17 t18 t19 t20 t21 t22 t23 t24 \ t25 t26 t27 t28 t29 t30 t31 t32 t33 t34 t35 t36 \ - t37 t38 t38j t39 t40 + t37 t38 t38j t39 t40 t41 t42 MALLOC_OPTIONS?=AJ t1: t1.out @@ -165,6 +165,12 @@ t39: t40: cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk36 2>/dev/null +t41: + if cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk37 2>/dev/null || test $$? -ge 128; then false; fi + +t42: + if cd ${.CURDIR} && env -i PATH=${PATH} MALLOC_OPTIONS=${MALLOC_OPTIONS} ${MAKE} -r -f mk38 2>/dev/null || test $$? -ge 128; then false; fi + t1.out: echo MACHINE_ARCH=${MACHINE_ARCH} >$@ diff --git a/regress/usr.bin/make/mk37 b/regress/usr.bin/make/mk37 new file mode 100644 index 00000000000..f274e4edea6 --- /dev/null +++ b/regress/usr.bin/make/mk37 @@ -0,0 +1,2 @@ +# $OpenBSD: mk37,v 1.1 2014/12/08 03:43:12 jsg Exp $ +all:$(: diff --git a/regress/usr.bin/make/mk38 b/regress/usr.bin/make/mk38 new file mode 100644 index 00000000000..361b82a9165 --- /dev/null +++ b/regress/usr.bin/make/mk38 @@ -0,0 +1,2 @@ +# $OpenBSD: mk38,v 1.1 2014/12/08 03:43:12 jsg Exp $ +$$$$(f.P\ON$$$$$$Y: all |