Skip to contentSkip to conversation

xfstests-bld: get-results: add -a option for grep, to process binary files as text

PATCH Applied Azat Khuzhin 2 participants 2 messages Apr 12, 2014 – Apr 14, 2014

lore
Share & tools
lore
#0 lore raw

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.

---
 kvm-xfstests/get-results | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kvm-xfstests/get-results +1 -1
index be4a729..4151e36 100755
@@ -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