aboutsummaryrefslogtreecommitdiffstats
path: root/t/chainlint (follow)
AgeCommit message (Expand)AuthorFilesLines
2024-09-10chainlint: make error messages self-explanatoryEric Sunshine43-82/+82
2024-07-10chainlint.pl: add tests for test body in heredocJeff King8-0/+50
2024-07-10chainlint.pl: check line numbers in expected outputJeff King72-882/+882
2024-07-10chainlint.pl: add test_expect_success call to test snippetsJeff King72-0/+144
2023-12-15tests: adjust whitespace in chainlint expectationsPatrick Steinhardt26-63/+87
2023-03-30tests: diagnose unclosed here-doc in chainlint.plEric Sunshine4-0/+22
2022-11-08chainlint: annotate original test definition rather than token streamEric Sunshine21-26/+139
2022-09-01t/chainlint: add more chainlint.pl self-testsEric Sunshine34-2/+336
2022-09-01chainlint.pl: allow `|| echo` to signal failure upstream of a pipeEric Sunshine2-0/+21
2022-09-01chainlint.pl: complain about loops lacking explicit failure handlingEric Sunshine11-7/+142
2022-09-01chainlint.pl: don't flag broken &&-chain if failure indicated explicitlyEric Sunshine6-2/+54
2022-09-01chainlint.pl: don't flag broken &&-chain if `$?` handled explicitlyEric Sunshine2-0/+20
2022-09-01chainlint.pl: don't require `&` background command to end with `&&`Eric Sunshine2-0/+19
2022-09-01t/Makefile: apply chainlint.pl to existing self-testsEric Sunshine5-9/+22
2022-09-01chainlint.pl: don't require `return|exit|continue` to end with `&&`Eric Sunshine6-0/+45
2021-12-13chainlint.sed: stop splitting "(..." into separate lines "(" and "..."Eric Sunshine7-20/+10
2021-12-13chainlint.sed: swallow comments consistentlyEric Sunshine5-2/+33
2021-12-13chainlint.sed: stop throwing away here-doc tagsEric Sunshine10-20/+20
2021-12-13chainlint.sed: don't mistake `<< word` in string as here-doc operatorEric Sunshine2-0/+30
2021-12-13chainlint.sed: drop subshell-closing ">" annotationEric Sunshine38-80/+80
2021-12-13chainlint.sed: drop unnecessary distinction between ?!AMP?! and ?!SEMI?!Eric Sunshine4-14/+14
2021-12-13chainlint.sed: tolerate harmless ";" at end of last line in blockEric Sunshine1-2/+2
2021-12-13chainlint.sed: improve ?!SEMI?! placement accuracyEric Sunshine4-16/+16
2021-12-13chainlint.sed: improve ?!AMP?! placement accuracyEric Sunshine22-34/+34
2021-12-13t/chainlint/one-liner: avoid overly intimate chainlint.sed knowledgeEric Sunshine2-2/+2
2021-12-13t/chainlint/*.test: generalize self-test commentaryEric Sunshine6-9/+6
2021-12-13t/chainlint/*.test: fix invalid test cases due to mixing quote typesEric Sunshine20-70/+38
2021-12-13t/chainlint/*.test: don't use invalid shell syntaxEric Sunshine3-4/+6
2018-08-29chainlint: match "quoted" here-doc tagsEric Sunshine4-0/+14
2018-08-13chainlint: add test of pathological case which triggered false positiveEric Sunshine2-0/+32
2018-08-13chainlint: recognize multi-line quoted strings more robustlyEric Sunshine3-3/+21
2018-08-13chainlint: let here-doc and multi-line string commence on same lineEric Sunshine6-0/+33
2018-08-13chainlint: recognize multi-line $(...) when command cuddled with "$("Eric Sunshine2-2/+20
2018-08-13chainlint: match 'quoted' here-doc tagsEric Sunshine4-0/+14
2018-08-13chainlint: match arbitrary here-docs tags rather than hard-coded namesEric Sunshine6-0/+33
2018-07-17t/chainlint: add chainlint "specialized" test casesEric Sunshine4-0/+31
2018-07-17t/chainlint: add chainlint "complex" test casesEric Sunshine8-0/+82
2018-07-17t/chainlint: add chainlint "cuddled" test casesEric Sunshine6-0/+70
2018-07-17t/chainlint: add chainlint "loop" and "conditional" test casesEric Sunshine10-0/+200
2018-07-17t/chainlint: add chainlint "nested subshell" test casesEric Sunshine12-0/+173
2018-07-17t/chainlint: add chainlint "one-liner" test casesEric Sunshine6-0/+71
2018-07-17t/chainlint: add chainlint "whitespace" test casesEric Sunshine12-0/+113
2018-07-17t/chainlint: add chainlint "basic" test casesEric Sunshine16-0/+206