common/rc: fix false positives due to leaked mkfs output to stderr
authorVladimir Zapolskiy <vladimir@tuxera.com>
Fri, 10 Jul 2020 14:13:50 +0000 (17:13 +0300)
committerEryu Guan <guaneryu@gmail.com>
Sun, 19 Jul 2020 16:51:42 +0000 (00:51 +0800)
commit1895ea4b424917e50a833a41546d4ad2c80324c2
treee05e45972789ad5cd95ec21fe674339011e6bea7
parentd9f86e74171d35720ce2fe0805a318ba2d4d1dd1
common/rc: fix false positives due to leaked mkfs output to stderr

The change fixes false positives reported by a few generic tests under
circumstances, when an mkfs utility prints its output to stderr and then it
appears in produced *.out files. The change is intended to fix such issues
in the tests, which utilize _require_scratch_swapfile().

Signed-off-by: Vladimir Zapolskiy <vladimir@tuxera.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc