From: Ari Sundholm Date: Mon, 29 Sep 2014 02:59:45 +0000 (+1000) Subject: common: redirect dd stderr to stdout. X-Git-Tag: v2022.05.01~3060 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=0e01e7f639ddf3fd0e9ecd8ce811e791b3622b6d common: redirect dd stderr to stdout. So that the checks work correctly on BusyBox systems. Signed-off-by: Ari Sundholm Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/common/rc b/common/rc index d49137c2..34d7c19b 100644 --- a/common/rc +++ b/common/rc @@ -44,7 +44,7 @@ dd() { if [ "$HOSTOS" == "Linux" ] then - command dd --help | grep noxfer > /dev/null 2>&1 + command dd --help 2>&1 | grep noxfer >/dev/null if [ "$?" -eq 0 ] then