xfstests: dump _require_fio output to log
authorDmitry Monakhov <dmonakhov@openvz.org>
Mon, 15 Apr 2013 11:09:47 +0000 (11:09 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 22 Apr 2013 14:52:19 +0000 (09:52 -0500)
This should help find incompatibility issues.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/rc

index b9806973462f5d96cbccdf223455884be1754786..8e373685b4d0f865c47b0ca7d091245b02ea79d6 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -1994,8 +1994,8 @@ _require_fio()
                return 1;
        fi
 
-       $FIO_PROG --warnings-fatal --showcmd $job >/dev/null 2>&1
-       [ $? -eq 0 ] || _notrun "$FIO_PROG too old"
+       $FIO_PROG --warnings-fatal --showcmd $job >> $seqres.full 2>&1
+       [ $? -eq 0 ] || _notrun "$FIO_PROG too old, see $seqres.full"
 }
 
 # Does freeze work on this fs?