From: Jan Kara Date: Mon, 23 Dec 2013 22:53:50 +0000 (+0000) Subject: Fix output parsing in _check_udf_filesystem() X-Git-Tag: v2022.05.01~3307 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=49684caded92f23dd18ec4698917e087f23a9016;p=xfstests-dev.git Fix output parsing in _check_udf_filesystem() Move of tests into separate subdirectories broke sed(1) expression in _check_udf_filesystem(). Actually use of sed in that place was rather stupid so just replace it with plain echo. Signed-off-by: Jan Kara Reviewed-by: Ben Myers Reviewed-by: Carlos Maiolino Signed-off-by: Rich Johnston --- diff --git a/common/rc b/common/rc index a2005c99..b3ccf9f1 100644 --- a/common/rc +++ b/common/rc @@ -1629,9 +1629,8 @@ _check_udf_filesystem() sleep 1 # Due to a problem with time stamps in udf_test $here/src/udf_test $OPT_ARG $device | tee $seqres.checkfs | egrep "Error|Warning" | \ _udf_test_known_error_filter | \ - egrep -iv "Error count:.*[0-9]+.*total occurrences:.*[0-9]+|Warning count:.*[0-9]+.*total occurrences:.*[0-9]+" | \ - sed "s/^.*$/Warning UDF Verifier reported errors see $seqres.checkfs./g" - + egrep -iv "Error count:.*[0-9]+.*total occurrences:.*[0-9]+|Warning count:.*[0-9]+.*total occurrences:.*[0-9]+" && \ + echo "Warning UDF Verifier reported errors see $seqres.checkfs." } _check_xfs_test_fs()