directive-misspellings.mk revision 1.1
11.1Srillig# $NetBSD: directive-misspellings.mk,v 1.1 2020/12/13 00:46:25 rillig Exp $ 21.1Srillig# 31.1Srillig# Tests for misspelled directives. 41.1Srillig# 51.1Srillig# Before 2020-12-12, make didn't catch most of these misspellings. For 61.1Srillig# example, the directive ".exporting" was interpreted as if it were spelled 71.1Srillig# ".export ing", which would export the variable named "ing" if that existed. 81.1Srillig# Another misspelling, as improbable as the others, was that both ".infos" and 91.1Srillig# ".information" were aliases to ".info" since the code for these diagnostic 101.1Srillig# directives just skipped any letters following the "error", "warn" or "info". 111.1Srillig 121.1Srillig.dinclud "file" 131.1Srillig.dinclude "file" 141.1Srillig.dincludx "file" 151.1Srillig.dincludes "file" # XXX: the 's' is not meant to be a filename 161.1Srillig 171.1Srillig.erro msg 181.1Srillig.errox msg 191.1Srillig# no .error since that would exit immediately 201.1Srillig# no .errors since that would exit immediately, even with the typo 211.1Srillig 221.1Srillig.expor varname 231.1Srillig.export varname 241.1Srillig.exporx varname 251.1Srillig.exports varname # XXX: undetected misspelling 261.1Srillig 271.1Srillig.export-en # XXX: undetected misspelling 281.1Srillig.export-env 291.1Srillig.export-env extra argument # XXX: undetected extra argument 301.1Srillig.export-environment # XXX: undetected misspelling 311.1Srillig 321.1Srillig.export-litera varname # XXX: undetected misspelling 331.1Srillig.export-literal varname 341.1Srillig.export-literax varname # XXX: undetected misspelling 351.1Srillig.export-literally varname # XXX: undetected misspelling 361.1Srillig 371.1Srillig.-includ "file" 381.1Srillig.-include "file" 391.1Srillig.-includx "file" 401.1Srillig.-includes "file" # XXX: the 's' is not meant to be a filename 411.1Srillig 421.1Srillig.includ "file" 431.1Srillig.include "file" 441.1Srillig.includx "file" 451.1Srillig.includex "file" # XXX: the 's' is not meant to be a filename 461.1Srillig 471.1Srillig.inf msg 481.1Srillig.info msg 491.1Srillig.infx msg 501.1Srillig.infos msg # XXX: undetected misspelling 511.1Srillig 521.1Srillig.sinclud "file" 531.1Srillig.sinclude "file" 541.1Srillig.sincludx "file" 551.1Srillig.sincludes "file" # XXX: the 's' is not meant to be a filename 561.1Srillig 571.1Srillig.unde varname 581.1Srillig.undef varname 591.1Srillig.undex varname 601.1Srillig.undefs varname # XXX: undetected misspelling 611.1Srillig 621.1Srillig.unexpor varname 631.1Srillig.unexport varname 641.1Srillig.unexporx varname 651.1Srillig.unexports varname # Accepted before 2020-12-12 18:00:18. 661.1Srillig 671.1Srillig.unexport-en # Accepted before 2020-12-12 18:11:42. 681.1Srillig.unexport-env 691.1Srillig.unexport-env extra argument # Accepted before 2020-12-12 18:00:18. 701.1Srillig.unexport-enx # Accepted before 2020-12-12 18:00:18. 711.1Srillig.unexport-envs # Accepted before 2020-12-12 18:00:18. 721.1Srillig 731.1Srillig.warn msg 741.1Srillig.warnin msg 751.1Srillig.warning msg 761.1Srillig.warninx msg 771.1Srillig.warnings msg # XXX: undetected misspelling 781.1Srillig 791.1Srilligall: 80