]> 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:31:25 +0000 (09:31 +0200)
commit9587f25119449957943da20928c746d804cacf29
treeb7687a10d613546459fe8f2ff3f9868f529588ba
parentc4b439e44194a4c5d5c309c60d1a94c9fe11f3c3
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