START usr.bin/make 2024-11-08T16:25:54Z ==== t1 ==== echo MACHINE_ARCH=i386 >t1.out env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -e -r -f /usr/src/regress/usr.bin/make/mk1 | diff - t1.out ==== t2 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk2| diff - t2.out ==== t3 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk3 -f mk3a|diff - t3.out cd /usr/src/regress/usr.bin/make && cat mk3a |env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk3 -f -|diff - t3.out cd /usr/src/regress/usr.bin/make && cat mk3 |env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f - -f mk3a|diff - t3.out cd /usr/src/regress/usr.bin/make && cat mk3 mk3a|env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f - |diff - t3.out ==== t4 ==== cd /usr/src/regress/usr.bin/make && cat mk4 mk4a|env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f - |diff - t4.out # Splitting files along conditionals should not work if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk4 -f mk4a 2>/dev/null || test $? -ge 128 ; then false; fi ==== t5 ==== # first check that make does fail as expected if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mkfail 2>/dev/null || test $? -ge 128; then false; fi # first form of MAKEFLAGS cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin MAKEFLAGS=-n make -r -f mkfail false # second form of MAKEFLAGS cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin MAKEFLAGS=n make -r -f mkfail false ==== t6 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make A=good -r -f mk6 | diff - t6.out ==== t7 ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk7 2>/dev/null || test $? -ge 128; then false; fi ==== t8 ==== touch goodfile phony cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk8 | diff - t8.out ==== t9 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk9 2>&1 | diff - t9.out ==== t10 ==== touch z.a cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk10 |diff - t10.out ==== t11 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk11 |diff - t11.out cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk11 A=t|diff - t11.out2 ==== t12 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk12 |diff - t12.out ==== t13 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk13 |diff - t13.out ==== t14 ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk14 2>/dev/null || test $? -ge 128; then false; fi touch a.a echo a.a >a.b *** Error 1 in . (Makefile:75 't14') EXPECTED_FAIL ==== t15 ==== touch t15file cd /usr/src/regress/usr.bin/make && ulimit -t 2 && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk15 2>/dev/null echo t15file.zoinx t15file.zoinx ==== t16 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk16 That's all folks ==== t17 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk17 *** Parse error in /usr/src/regress/usr.bin/make: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: Too many nested if's. 30 max. (mk17:7) *** Parse error: Need an operator in 'TEST' (mk17:7) *** Parse error: at least 30 open conditionals (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) (mk17:7) *** Error 1 in . (Makefile:86 't17') EXPECTED_FAIL ==== t18 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk18 *** Parse error in /usr/src/regress/usr.bin/make: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Parse error: Too many nested if's. 30 max. (mk18:7) *** Parse error: Need an operator in 'TEST' (mk18:7) *** Error 1 in . (Makefile:91 't18') EXPECTED_FAIL ==== t19 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin SHELL=/bin/zsh make -r -f mk19 | diff - t19.out ==== t20 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin SHELL=/bin/sh make -r -f mk20 | diff - t20.out ==== t21 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk21 | diff - t21.out ==== t22 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk22 b | diff - t22.out ==== t23 ==== cd /usr/src/regress/usr.bin/make && ulimit -t 60 && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk22 a 2>&1| diff - t23.out ==== t24 ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk23 a 2>/dev/null || test $? -ge 128; then false; fi ==== t25 ==== touch /usr/src/regress/usr.bin/make/obj/t25.1st rm -f /usr/src/regress/usr.bin/make/obj/t25.2nd if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk24 t25.2nd 2>/dev/null || test $? -ge 128; then false; fi ==== t26 ==== touch /usr/src/regress/usr.bin/make/obj/f26.2nd rm -f /usr/src/regress/usr.bin/make/obj/f26 if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk24 f26 2>/dev/null || test $? -ge 128; then false; fi ==== t27 ==== touch /usr/src/regress/usr.bin/make/obj/t27.2nd rm -f /usr/src/regress/usr.bin/make/obj/t27.3rd if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk24 t27.3rd 2>/dev/null || test $? -ge 128; then false; fi ==== t28 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk25 all >/dev/null ==== t29 ==== rm -f t29dep t29.targ t29.targ2 libt29.a cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk26 all | diff - t29.out cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk26 all | diff - t29.out2 ==== t30 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk27 all | diff - t30.out ==== t31 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk28 all ==== t32 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin B="A" make -r -f mk32 all | diff - t32.out ==== t33 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin B=0 make -r -f mk32 all | diff - t33.out ==== t34 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin B=1 make -r -f mk32 all | diff - t34.out ==== t35 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin B=2 make -r -f mk32 all | diff - t35.out ==== t36 ==== if echo '$$(A:&)' | env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f - 2>/dev/null|| test $? -ge 128; then false; fi ==== t37 ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin B=2 make -r -f mk33 all; then false; else true; fi *** Parse error in /usr/src/regress/usr.bin/make: Unterminated variable spec in ${A${B} (mk33:10) ==== t38 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk34 | diff - t38.out ==== t38j ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk34 -j2 | diff - t38.out ==== t39 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk35 2>&1 | diff - t39.out ==== t40 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk36 2>/dev/null ==== t41 ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk37 2>/dev/null || test $? -ge 128; then false; fi ==== t42 ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk38 2>/dev/null || test $? -ge 128; then false; fi No closing parenthesis in archive specification ==== t42bis ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk38bis 2>/dev/null || test $? -ge 128; then false; fi Unclosed parenthesis in archive specification ==== t43 ==== cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -j2 -f mk39 b 2>&1 | diff - t43.out cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -j2 -f mk39 a 2>&1 | diff - t43.out ==== t44 ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk40 2>/dev/null || test $? -ge 128; then false; fi ==== t45 ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk41 2>/dev/null || test $? -ge 128; then false; fi ==== t46 ==== if cd /usr/src/regress/usr.bin/make && env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin make -r -f mk42 a 2>/dev/null; then false; else if test $? -ge 1 -a $? -lt 128; then true; else false; fi; fi ==== t47 ==== lex -o lex.tok.c /usr/src/regress/usr.bin/make/tok.l cc -O2 -pipe -MD -MP -c -o tok.o lex.tok.c rm -f lex.tok.c if test -f tok.d; then sed -i -e 's,lex.tok.c,/usr/src/regress/usr.bin/make/tok.l,' tok.d; fi test -f tok.o || exit 1 ==== t48 ==== cd /usr/src/regress/usr.bin/make && make -r -f mk43 a exec SYSLIB=zoinx XFAIL usr.bin/make *** Error 1 in . (Makefile:75 't14'), *** Error 1 in . (Makefile:86 't17'), *** Error 1 in . (Makefile:91 't18')