tests: shunit2: fix issues reported by shellcheck
authorPetr Štetiar <ynezz@true.cz>
Fri, 1 Nov 2019 09:26:38 +0000 (10:26 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 14 Nov 2019 16:11:08 +0000 (17:11 +0100)
commit38a2f12ec5abafda9b385b6ce9f68714349df264
tree6e6d4094312ed34f8d88c2bf71cd965b816cd6ed
parent266fc9e94c1e56ca0544ce417fb919217623b1be
tests: shunit2: fix issues reported by shellcheck

 In tests.sh line 10:
 [ -x $UCI_BIN ] || {
      ^------^ SC2086: Double quote to prevent globbing and word splitting.

 In tests.sh line 63:
 for suite in $(ls ${SCRIPTS_DIR}/*)
              ^--------------------^ SC2045: Iterating over ls output is fragile. Use globs.

 In tests.sh line 65:
  cat ${suite} >> ${FULL_SUITE}
             ^------^ SC2086: Double quote to prevent globbing and word splitting.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
tests/shunit2/tests.sh