]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: fix _repair_scratch_fs error reporting
authorAmir Goldstein <amir73il@gmail.com>
Tue, 28 May 2019 12:08:47 +0000 (15:08 +0300)
committerEryu Guan <guaneryu@gmail.com>
Sun, 2 Jun 2019 05:47:07 +0000 (13:47 +0800)
commit84fbcec4ec17d0ee2676d99d2c13ecc6c8dcf1c6
tree7ea9a5cd991988e7f8a91f45ec54f41d8d978c2f
parent51d4496438421e244619c7e4d792d513432b8b3d
common/rc: fix _repair_scratch_fs error reporting

_dump_err2() helper was introduced over two years ago and it broke
the error reporting from _repair_scratch_fs.

Every test that runs:
_repair_scratch_fs >> $seqres.full

and expect to fail if anything is written to stderr is not working
as intended.

Reported-by: zhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: zhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc