Joe Groocock
c274231544
test: Fix implicit test fail in test-markdownlint
Fix the silent test failure by catching the uncaught error from
`command`, handling the failure gracefully.
$ bash -x test/test-markdownlint.sh
...
++ command -v mdl
+ MDL=
$ echo $?
1
$ bash -x test/test-markdownlint.sh
...
++ command -v mdl
+ MDL=
+ true
+ '[' -z '' ']'
+ fail_test 'The '\''mdl'\'' utility can'\''t be found.'
+ echo -e 'FAIL: The '\''mdl'\'' utility can'\''t be found.'
FAIL: The 'mdl' utility can't be found.
Fix a couple of glaring shellcheck warnings and errors mostly
surrounding variable quoting.
Signed-off-by: Joe Groocock <me@frebib.net>
2020-12-08 15:51:52 +00:00
..
2019-05-05 11:10:47 -04:00
2020-02-16 18:38:58 -05:00
2020-01-25 04:43:33 -05:00
2020-04-03 01:15:57 -04:00
2020-01-25 04:43:33 -05:00
2018-02-25 02:13:51 -05:00
2019-11-17 20:21:52 -05:00
2018-04-19 01:10:58 -04:00
2019-03-12 15:50:30 -04:00
2018-12-11 01:46:17 -05:00
2019-05-05 09:32:03 -04:00
2019-05-05 09:32:03 -04:00
2019-07-21 00:55:36 -04:00
2020-01-25 04:43:33 -05:00
2018-02-15 17:21:49 +01:00
2018-03-13 06:38:21 -04:00
2020-12-08 15:51:52 +00:00
2018-02-15 17:21:49 +01:00
2018-02-15 17:21:49 +01:00
2018-02-15 17:21:49 +01:00
2018-04-19 01:10:58 -04:00
2019-03-12 16:49:01 -04:00
2018-02-15 17:21:49 +01:00
2019-02-24 12:28:59 -05:00