xfstests-bld: get-results: add -a option for grep, to process binary files as text
PATCH 1/2 xfstests-bld: get-results: add -a option for grep, to process binary files as text
Since logs can have some _non ASCII_ symbols and grep think that this is a binary file.
Signed-off-by Azat Khuzhin <[email protected]>
--- kvm-xfstests/get-results | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kvm-xfstests/get-results +1 -1
@@ -1,2 +1,2 @@ #!/bin/sh -egrep "(^BEGIN)|(^END)|(^Ran: )|(^Failures: )|(^Passed)|(inconsistent)" $* +egrep -a "(^BEGIN)|(^END)|(^Ran: )|(^Failures: )|(^Passed)|(inconsistent)" $*
Signature · 1 line
1.9.0
Theodore Ts'o
AppliedQuoted 4 lines · Azat Khuzhin
Since logs can have some
_nonASCII_symbols and grep think that this is a binary file.Signed-off-by Azat Khuzhin <[email protected]>
Thanks, applied.
- Ted