# HG changeset patch # User Chris Cannam # Date 1495704287 -3600 # Node ID aca11ce8a63714ef8360748a41a8a391c78c5c34 # Parent c1862b8712caa99f1def6dec5113dc49ac11db1e Do this for all values, not just first diff -r c1862b8712ca -r aca11ce8a637 tests/include.sh --- a/tests/include.sh Wed May 24 12:55:28 2017 +0100 +++ b/tests/include.sh Thu May 25 10:24:47 2017 +0100 @@ -34,8 +34,8 @@ # permit some fuzz in final few digits a="$1" b="$2" - perl -p -e 's/(\d+\.\d{6})\d+/$1/' "$a" > "${a}__" - perl -p -e 's/(\d+\.\d{6})\d+/$1/' "$b" > "${b}__" + perl -p -e 's/(\d+\.\d{6})\d+/$1/g' "$a" > "${a}__" + perl -p -e 's/(\d+\.\d{6})\d+/$1/g' "$b" > "${b}__" cmp -s "${a}__" "${b}__" rv=$? rm "${a}__" "${b}__"