aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest.sh2
1 files changed, 1 insertions, 1 deletions
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..."