From 3616b3c21130c7ee86ada66e02b84ebb55783183 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Tue, 27 Jun 2017 17:26:58 +1200 Subject: Expand \r to \n before parsing in test.sh --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 2df0d7d..083626d 100755 --- a/test.sh +++ b/test.sh @@ -8,7 +8,7 @@ stderr="$(mktemp)" # Four character search should be a < 1 second CPU burst for CI runner ./sand-leek -s site > $key 2>$stderr -found="$(grep Found $stderr | cut -d ' ' -f 2)" +found="$(tr '\r' '\n' < $stderr | grep Found | cut -d ' ' -f 2)" echo "sand-leek says it found $found..." -- cgit v1.1