]> 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>
Thu, 26 Sep 2024 16:17:05 +0000 (18:17 +0200)
commitd3f385aaed0b7631f6d69bf1ed88f9570b1d8f50
tree194110530b205934101f540e3e8c2d4ac3d2403d
parentb66b98e76d424b2881084d97d5da0e3c9ce062be
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>
src/test/cli-integration/rbd/iscsi_client.t