]> granicus.if.org Git - zfs/commit
Split argument list, satisfy shellcheck SC2086
authorRyan Moeller <ryan@freqlabs.com>
Mon, 26 Aug 2019 01:30:39 +0000 (21:30 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 26 Aug 2019 01:30:39 +0000 (18:30 -0700)
commita18f8bce5c6acb9c3990b2917efa96d1828e541c
tree081524e44d0c45c6efd1e1039ec0f57b80378ec8
parent4302698be16e88419b8b22194685372e012fa333
Split argument list, satisfy shellcheck SC2086

Split the arguments for ${TEST_RUNNER} across multiple lines for
clarity. Also added quotes in the message to match the invoked command.

Unquoted variables in argument lists are subject to splitting. In this
particular case we can't quote the variable because it is an optional
argument. Use the method suggested in the description linked below,
instead.

The technique is to use an unquoted variable with an alternate value.

https://github.com/koalaman/shellcheck/wiki/SC2086

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <guss80@gmail.com>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9212
scripts/zfs-tests.sh