From 4769dc3a0075119c0e60d76e0cb416bb1a9f825d Mon Sep 17 00:00:00 2001 From: Ben Davies Date: Wed, 9 Oct 2024 17:03:21 +1100 Subject: [PATCH] Simplify diff check regex. --- integration/binary_diff.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/binary_diff.sh b/integration/binary_diff.sh index 44b06eb..50826e4 100755 --- a/integration/binary_diff.sh +++ b/integration/binary_diff.sh @@ -42,7 +42,8 @@ fi function diff_warn { # compare & warn if binary args don't match - diff -q "$1" "$2" | grep -E "^Files [a-zA-Z0-9. ]+differ" + # TODO: this needs to be checked against typical versions of grep + diff -q "$1" "$2" | grep -E "^Files .+ differ" } # input paths