Skip to content

Commit

Permalink
Simplify diff check regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
truth-quark committed Oct 9, 2024
1 parent ac58541 commit 1c61fd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration/binary_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c61fd9

Please sign in to comment.