]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/workunits/ceph-disk: do not redirect stderr to stdout
authorKefu Chai <kchai@redhat.com>
Mon, 27 Nov 2017 04:08:04 +0000 (12:08 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 28 Nov 2017 06:55:19 +0000 (14:55 +0800)
commitaa34321a4a74f29ef1efa63b5561aa4918ca4fb8
tree421867c3ba24d09d2b0067bcbe16b6c999200949
parent993b5f304e4b61dda6b8592679b6fcd86764fdcc
qa/workunits/ceph-disk: do not redirect stderr to stdout

normally, if we care about the output of ceph-disk, we expect a json
string, and ceph-disk sends the output to stdout, and errors/warnings
to stderr. so everything works as expected. and the test should also
follow this tradition. for example, if deprecated warnings are printed,
the warning message should not be collected along with the json string.

see also: d44334f3

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/ceph-disk/ceph-disk-test.py