NTB: ntb_test: Safely use paths with whitespace
authorSerge Semin <fancer.lancer@gmail.com>
Wed, 6 Dec 2017 14:31:58 +0000 (17:31 +0300)
committerJon Mason <jdmason@kudzu.us>
Mon, 29 Jan 2018 03:17:24 +0000 (22:17 -0500)
commit03aadf9499ba71ebc6059317fc409012c95ddcdb
tree1db8a6ee4d338fe7bc06a0bf851eec5752d7074f
parent5648e56d03fa0c153fccd089efd903f1f6af559f
NTB: ntb_test: Safely use paths with whitespace

If some of variables like LOC/REM or LOCAL_*/REMOTE_* got
whitespaces, the script may fail with syntax error.

Fixes: a9c59ef77458 ("ntb_test: Add a selftest script for the NTB subsystem")
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Acked-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
tools/testing/selftests/ntb/ntb_test.sh