head 1.4; access; symbols netbsd-11-0-RELEASE:1.4 netbsd-11-0-RC7:1.4 netbsd-11-0-RC6:1.4 netbsd-11-0-RC5:1.4 netbsd-11-0-RC4:1.4 netbsd-11-0-RC3:1.4 netbsd-11-0-RC2:1.4 netbsd-11-0-RC1:1.4 perseant-exfatfs-base-20250801:1.4 netbsd-11:1.4.0.6 netbsd-11-base:1.4 netbsd-10-1-RELEASE:1.4 perseant-exfatfs-base-20240630:1.4 perseant-exfatfs:1.4.0.4 perseant-exfatfs-base:1.4 netbsd-10-0-RELEASE:1.4 netbsd-10-0-RC6:1.4 netbsd-10-0-RC5:1.4 netbsd-10-0-RC4:1.4 netbsd-10-0-RC3:1.4 netbsd-10-0-RC2:1.4 netbsd-10-0-RC1:1.4 netbsd-10:1.4.0.2 netbsd-10-base:1.4 cjep_sun2x-base1:1.2 cjep_sun2x:1.2.0.4 cjep_sun2x-base:1.2 cjep_staticlib_x-base1:1.2 cjep_staticlib_x:1.2.0.2 cjep_staticlib_x-base:1.2; locks; strict; comment @# @; 1.4 date 2022.08.17.20.10.29; author rillig; state Exp; branches; next 1.3; commitid zbX8JHjF9zQCRgQD; 1.3 date 2022.08.17.20.05.41; author rillig; state Exp; branches; next 1.2; commitid 1XGz3fCcMAv2PgQD; 1.2 date 2020.08.19.05.13.18; author rillig; state Exp; branches; next 1.1; commitid bWxNvMMEnXVIiDkC; 1.1 date 2020.08.16.12.07.51; author rillig; state Exp; branches; next ; commitid coEgPk3hgfeYGhkC; desc @@ 1.4 log @make: fix exit status for '-q' (since 1994) @ text @Making commands: command during parsing commands: query status 1 Making opt-query-file.out-of-date in compat mode: opt-query-file.out-of-date in compat mode: query status 1 Making opt-query-file.up-to-date in compat mode: `opt-query-file.up-to-date' is up to date. opt-query-file.up-to-date in compat mode: query status 0 Making phony in compat mode: phony in compat mode: query status 1 Making opt-query-file.out-of-date in jobs mode: opt-query-file.out-of-date in jobs mode: query status 1 Making opt-query-file.up-to-date in jobs mode: opt-query-file.up-to-date in jobs mode: query status 0 Making phony in jobs mode: phony in jobs mode: query status 1 exit status 0 @ 1.3 log @tests/make: demonstrate wrong exit status for '-q' (since 1994) Reported by Jeroen Ruigrok van der Werven via private mail. @ text @d10 1 a10 1 opt-query-file.up-to-date in compat mode: query status 1 d19 1 a19 1 opt-query-file.up-to-date in jobs mode: query status 1 @ 1.2 log @make(1): add test for the -q option @ text @d1 1 d3 22 a24 1 exit status 1 @ 1.1 log @make(1): add dummies for fine-grained tests, one per single feature The test names have been derived from the current manual page. All these tests are dummies right now, and the code from the existing tests will be moved into the new tests step by step. This is done to prevent modmisc, escape, varmod-edge and varmisc from growing without any bounds, and to reduce the side-effects of one test to the others. @ text @d1 2 a2 1 exit status 0 @