qa/workunits/rados: quote optional args
authorKefu Chai <kchai@redhat.com>
Sat, 22 Aug 2020 08:11:28 +0000 (16:11 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 22 Aug 2020 08:11:36 +0000 (16:11 +0800)
otherwise they will be escaped by shell

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/rados/test_python.sh

index 792b505c527623397e7aa6e8fbb459d58d936f14..469fcb7aa326c6518a574765b027253f76815c51 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh -ex
 
 ceph osd pool create rbd
-${PYTHON:-python3} -m nose -v $(dirname $0)/../../../src/test/pybind/test_rados.py $@
+${PYTHON:-python3} -m nose -v $(dirname $0)/../../../src/test/pybind/test_rados.py "$@"
 exit 0