summaryrefslogtreecommitdiff
path: root/tests/resources/crlf_data
Commit message (Collapse)AuthorAgeFilesLines
* crlf_data: add corpus of known-good odb-filtered dataEdward Thomson2018-12-036257-0/+32690
| | | | | | | | | | Use the crlf data scripts to produce a corpus of known-good data in "git" format (aka ODB format) from a variety of files with different line endings. `git` created these files running `git add` to stage the contents then extracting the data from the repository. We'll use these to ensure that we create identical contents when we add files into the index.
* crlf: re-use existing crlf script to create odbEdward Thomson2018-12-0319-110/+0
| | | | | | Re-use the existing crlf data generation script for creating the to-odb dataset. Also, store the actual file contents instead of the ID so that we can identify differences instead of detecting that differences exist.
* crlf: script to generate expected crlf data for adding files to indexSven Strickroth2018-12-0320-1/+112
| | | | | | | | | | Include a shell script that will generate the expected data of OIDs and failures for calling git.git to capture its output as a test resource. Right now, there is no need to differentiate different systems as git behaves the same on all systems IIRC. Signed-off-by: Sven Strickroth <email@cs-ware.de>
* crlf_data: move to a "to_workdir" folderEdward Thomson2018-12-031368-0/+0
| | | | | | | Move the crlf_data folders reponsible for holding the state of the filters going into the working directory to "to_workdir" variations of the folder name to accommodate future growth into the "to odb" filter variation. Update the script to create these new folders as appopriate.
* tests: add information about the crlf data generatorEdward Thomson2018-04-171-0/+2
| | | | | The CRLF data generator is somewhat obscure; add information about how to use it and what it does.
* tests: crlf: update POSIX test data to reflect Git 2.9+ behaviorSven Strickroth2018-04-1731-70/+70
| | | | | | Update with vanilla Git 2.11.0 on Debian Signed-off-by: Sven Strickroth <email@cs-ware.de>
* tests: crlf: update Windows test data to reflect Git 2.9+ behaviorSven Strickroth2018-04-1735-80/+80
| | | | | | Update with "git version 2.11.0.windows.3" Signed-off-by: Sven Strickroth <email@cs-ware.de>
* crlf tests: posix known-good dataEdward Thomson2015-06-22684-0/+3960
| | | | | A corpus of files checked out with Git (Linux, 1.9.1) to ensure that produce identical data when checking out using a CRLF filter.
* crlf tests: windows known-good dataEdward Thomson2015-06-22685-0/+3961
A corpus of files checked out with Git for Windows (2.4.1.windows.1) to ensure that we produce identical data when checking out using a CRLF filter.