mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <jack@suse.cz> Reviewed-by: Ben Myers <bpm@sgi.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user