Ignore:
Timestamp:
2013-08-09T22:46:32+12:00 (11 years ago)
Author:
ak19
Message:

Better detection of whether a gdb file is a windows-generated one or not. The weakness of the earlier test was only discovered with the Multimedia tutorial collection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/diffcol/trunk/diffcol/diffcol.pl

    r28008 r28019  
    676676                # Doing so is okay, since we're not modifying the doc.xml in the model or test collections, just normalising them in-memory for comparison
    677677                $$lin_contents =~ s@([^\\])\\([^\\])@$1\/$2@g;
     678               
     679                # Advanced Beatles collection,
     680                # linux version contains: IMG SRC=_httpextlink_&rl=1&href=http:///\\"http://www.boskowan.com/ (extra / slash)
     681                # while windows contains: IMG SRC=_httpextlink_&rl=1&href=http://\\"http://www.boskowan.com/
     682                # Normalising to windows version for doing a diff
     683                $$lin_contents =~ s@href=http:///@href=http://@g;
    678684            }
    679685           
Note: See TracChangeset for help on using the changeset viewer.