Browse Source
Test framework fix. * jk/chainlint-fixes: tests: skip test_eval_ in internal chain-lint tests: drop here-doc check from internal chain-linter tests: diagnose unclosed here-doc in chainlint.pl tests: replace chainlint subshell with a function tests: run internal chain-linter under "make test"main

7 changed files with 50 additions and 18 deletions
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
command_which_is_run && |
||||
cat >expect <<-\EOF ?!UNCLOSED-HEREDOC?! && |
||||
we forget to end the here-doc |
||||
command_which_is_gobbled |
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
command_which_is_run && |
||||
cat >expect <<-\EOF && |
||||
we forget to end the here-doc |
||||
command_which_is_gobbled |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
command_which_is_run && |
||||
cat >expect <<\EOF ?!UNCLOSED-HEREDOC?! && |
||||
we try to end the here-doc below, |
||||
but the indentation throws us off |
||||
since the operator is not "<<-". |
||||
EOF |
||||
command_which_is_gobbled |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
command_which_is_run && |
||||
cat >expect <<\EOF && |
||||
we try to end the here-doc below, |
||||
but the indentation throws us off |
||||
since the operator is not "<<-". |
||||
EOF |
||||
command_which_is_gobbled |
Loading…
Reference in new issue