]> git-server-git.apps.pok.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:33:23 +0000 (09:33 +0200)
commit0dfe9303344823de0cc9768fd9ad323ed6d40db5
treeb76230fd1f26b80d56e85bda645d9d907986cd2a
parentd38bdb4a712ab5ce21cfa6061bfe6261b0faefe4
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