test: emacs: fix a couple of shellcheck complaints

In test-lib-emacs.sh line 20:
    test_require_external_prereq ${TEST_EMACS} || ret=1
                                 ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean:
    test_require_external_prereq "${TEST_EMACS}" || ret=1

In test-lib-emacs.sh line 21:
    test_require_external_prereq ${TEST_EMACSCLIENT} || ret=1
                                 ^-----------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean:
    test_require_external_prereq "${TEST_EMACSCLIENT}" || ret=1

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras 2021-05-15 15:47:43 -05:00 committed by David Bremner
parent 29ba523275
commit bba4788aec

View file

@ -116,8 +116,8 @@ unset NAME
test_require_emacs () {
local ret=0
test_require_external_prereq ${TEST_EMACS} || ret=1
test_require_external_prereq ${TEST_EMACSCLIENT} || ret=1
test_require_external_prereq "$TEST_EMACS" || ret=1
test_require_external_prereq "$TEST_EMACSCLIENT" || ret=1
test_require_external_prereq dtach || ret=1
return $ret
}