зеркало из https://github.com/mozilla/gecko-dev.git
1e88f0f003
This patch was written entirely by the following script: #!/bin/bash if [ ! -d "./.hg" ] then echo "Not in a source tree." 1>&2 exit 1 fi find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME do echo "Processing ${FILENAME}." # The following has four substitutions: # * The first one replaces the *first* argument to fuzzy() when it doesn't # have a - in it, by replacing it with an explicit 0-N range. # * The second one does the same for the *second* argument to fuzzy(). # * The third does the same for the *second* argument to fuzzy-if(). # * The fourth does the same for the *third* argument to fuzzy-if(). # # Note that this is using perl rather than sed because perl doesn't # support non-greedy matching, which is needed for the first argument to # fuzzy-if. perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}" done Differential Revision: https://phabricator.services.mozilla.com/D2974 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
468496-1-ref.html | ||
468496-1.html | ||
611498-1.html | ||
611498-ref.html | ||
709477-1-ref.html | ||
709477-1.html | ||
853889-1-ref.html | ||
853889-1.html | ||
1086723-ref.html | ||
1086723.html | ||
1131264-1.svg | ||
1143303-1.svg | ||
1149923-ref.html | ||
1149923.html | ||
1419528-ref.html | ||
1419528.html | ||
1424673-ref.html | ||
1424673.html | ||
1429411-ref.html | ||
1429411.html | ||
1435143-ref.html | ||
1435143.html | ||
1444904-ref.html | ||
1444904.html | ||
1451168-ref.html | ||
1451168.html | ||
1461313-ref.html | ||
1461313.html | ||
1463802-ref.html | ||
1463802.html | ||
1474722-ref.html | ||
1474722.html | ||
blacktrans.png | ||
bwinton.jpg | ||
pass.svg | ||
reftest.list |