summaryrefslogtreecommitdiffstats
path: root/test/fold.test
Commit message (Collapse)AuthorAgeFilesLines
* Tree-wide white-space cleanupsJean Delvare2014-01-201-3/+3
| | | | | | | * Delete blank lines at end of files. * Delete white space at end of lines. * Delete spaces before tab. * Replace 8 spaces by a tab where it makes sense.
* Separate working directory for each test caseJean Delvare2010-01-231-16/+11
| | | | | | | | | | | | | | | | | 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.
* - 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-2/+1
| | | | | directory contains a patches/ sub-directory (iow, if quilt itself is patched with quilt).
* - test/*.test: Fix sed compatibility issues: do not use inplace (-i); doJean Delvare2005-09-091-2/+2
| | | | | | not filter out tabs in patches, it's no more needed now that --no-timestamps is used; do not use the "a" command. Based on a patch by John Vandenberg.
* - quilt/fold.in: fold did not work when invoked from aAndreas Gruenbacher2005-08-221-10/+31
| | | | subdirectory; update test case.
* - Add --sort options to the diff and refresh commands whichAndreas Gruenbacher2005-04-131-6/+6
| | | | | | | | | | 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.
* - Switch from echo to printf for all translations: This is moreAndreas Gruenbacher2004-07-091-2/+2
| | | | | | | | | | | | | | | stable than having expansions in messages that might change independent of the message. - Add print_patch function and always use it when printing patch names. Remove -n options from various scripts and use a global switch QUILT_PATCHES_PREFIX in .quiltrc to decide between patch names with and without directory prefix. Depending on user experience this switch may eventually go away. - Add --diffstat option to refresh command: If given, this option inserts diffstat statistics at the end of the patch header, or refreshes the existing diffstat output. No special tags in the path file (%diffstat or the like) are needed. - Minor fix inserting changelog into RPM specfile.
* - Add meta-data version check/upgrade code from Martin Quinson andAndreas Gruenbacher2004-06-101-2/+2
| | | | | | | | | | | | | | me; new `quilt upgrade' command. - Handle new/removed files correctly in generated patches: If the old or new file is missing, the file name in the patch should be /dev/null. Fix test suite accordingly, and add test/create-delete.diff. GNU patch recognizes this, and does additional file existance tests when a patch creates/deletes a file. Also use the --label option of GNU diff instead of hand-editing file name headers. - Add test/Makefile for running the test suite. Note: The tests run against the installed version of quilt! - Bump version to 0.34.
* - No longer remove common extensions (.dif, .diff, .patch, .gz,Andreas Gruenbacher2004-01-311-6/+2
| | | | | | | .bz2) from patch names. This allows patches in the same series that only differ by extension, and cleans up the scripts a little. Also don't remove extensions when printing patch names. - Remove unused diffstat code.
* - `quilt fold' did not create directories for additional files,Andreas Gruenbacher2003-11-271-9/+9
| | | | and the code for recovering from failures was wrong.
* - Add new command `quilt fold' to fold one patch into another.Andreas Gruenbacher2003-11-171-0/+57
- Fix bug in `quilt files': Files that are neither present in the working directory and have an empty backup copy sometimes were still listed. - Some minor cleanups in apatch. - Add test/fold.test, and fix a now-useless check in one.test.