summaryrefslogtreecommitdiffstats
path: root/test/sort.test
Commit message (Collapse)AuthorAgeFilesLines
* test: Consistently use %{P} and %{_P}Jean Delvare2017-05-091-11/+11
| | | | | | | | | | | There is no point in defining P and _P in the Makefile to allow for QUILT_PATCHES_PREFIX to be set or unset if we do not use these variables consistently in the test suite. Replace hardcoded "patches/" with %{P} or %{_P} throughout the test suite wherever relevant so that unsetting QUILT_PATCHES_PREFIX in test.quiltrc actually works. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* Separate working directory for each test caseJean Delvare2010-01-231-38/+33
| | | | | | | | | | | | | | | | | Let the test suite runner script create a separate working directory for each test. This makes it possible to run several tests in parallel, speeding up testing on SMP systems. It also ensures that a broken test case can no longer cause another test case to fail. At this point, it is possible to run the test suite in parallel, the final result (success or failure) will be correct, however the output is hardly readable because the progress of all tests are interlaced. This will be improved later. As a nice side effect, this means we can drop the setup and clean-up steps that were present in all test cases.
* Sync with the recent behavior change of "quilt diff".Jean Delvare2005-09-231-4/+16
|
* - Fix the test suite so that directories leftover from a previouslyJean Delvare2005-09-231-0/+1
| | | | interrupted test won't cause a test to fail.
* - Fix the test suite so that it doesn't fail if any higher-levelAndreas Gruenbacher2005-09-231-1/+1
| | | | | directory contains a patches/ sub-directory (iow, if quilt itself is patched with quilt).
* - test/sort.test: Quote grep arguments, as some grep implementations seemJean Delvare2005-09-211-4/+4
| | | | to otherwise choke on them. Original patch from John Vandenberg.
* - scripts/patchfns.in: Rewrite files_in_patch_ordered() so as to notJean Delvare2005-09-061-2/+42
| | | | | | | require the awk asort function, which is not available on all versions of awk. - test/sort.test: Add more files to better test the ordering and sorting issues. Original patch by John Vandenberg.
* - Add --sort options to the diff and refresh commands whichAndreas Gruenbacher2005-04-131-0/+52
sorts files by filename. The default is to keep files in their original order whenever possible. - refresh command: add new files in sort order instead of the filesystem order. - diff command: output files in the order in which they show up in the patch instead of sorting them alphabetically. - Add sort testcase.