]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: avoid a non-standard shell construct in rbd/iscsi_client.t
authorIlya Dryomov <idryomov@gmail.com>
Thu, 26 Sep 2024 15:36:37 +0000 (17:36 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 2 Oct 2024 07:32:43 +0000 (09:32 +0200)
commit8ae14abc85a2302ef14fa35cfdaf9567be7bb1bb
tree2d146644634bb61bd1278a0a6300ba7874b15b33
parent09edac37f0d1b69054ac4fe420aed53cd9019073
qa: avoid a non-standard shell construct in rbd/iscsi_client.t

dash which is used as /bin/sh on Ubuntu interprets "2&> /dev/null" as
an instruction to launch iscsiadm in the background.  While that is
mostly compensated by the following sleep, stderr isn't redirected to
/dev/null either -- the output gets polluted and the test fails.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit d3f385aaed0b7631f6d69bf1ed88f9570b1d8f50)
src/test/cli-integration/rbd/iscsi_client.t