summaryrefslogtreecommitdiffstats
path: root/test/subdir.test
Commit message (Collapse)AuthorAgeFilesLines
* diff: Workaround bash bugJean Delvare2014-03-041-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Old versions of bash (at least version 3.2.51) don't properly handle prefix stripping together with quoting when evaluating an array. So strip the prefix before adding each file to opt_files. It's faster anyway. Same thing when diffing against a snapshot, strip the snapshot directory prefix from file names before evaluating the quoted files array. This fixes a regression introduced in: commit b0baeeb6b61132af92fd75df5f912554d295dee1 Author: Jean Delvare <jdelvare@suse.de> Date: Fri Mar 25 18:48:49 2011 +0100 diff, refresh: Accept file names with spaces (Only affecting the versions of bash which have the aforementioned bug.) This also fixes a bug when called from a subdirectory and a file passed as an argument starts with "./". Extend the test suite to test both cases, so that such bugs can't sneak in in the future.
* Separate working directory for each test caseJean Delvare2010-01-231-14/+9
| | | | | | | | | | | | | | | | | 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.
* - Mail command: when only a single patch is specified, only mailAndreas Gruenbacher2007-05-061-7/+0
| | | | | | | | | | that one. Only mail all patches to the end of the series if the last patch is '-', or no patches have been specified. - Revert command: change semantics to really revert the changes relative to the patch instead of removing the file from the patch. That's much more useful; the other behavior is available as ``quilt diff <file> | patch -p1'', anyway. - Update German translation.
* - Rename the ``remove'' command to ``revert'': this removesAndreas Gruenbacher2007-04-271-2/+2
| | | | | ambiguities with the delete command, and more closely matches what the command does.
* - test/*.test: Make sure that rm commands are non-interactive.Jean Delvare2006-09-191-1/+1
|
* - 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/subdir.test: Test quilt files -v.Jean Delvare2005-09-211-4/+4
|
* - test/*.test: Fix sed compatibility issues: do not use inplace (-i); doJean Delvare2005-09-091-1/+1
| | | | | | 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.
* - Some more QUILT_PATCHES_PREFIX fixes.Andreas Gruenbacher2004-07-121-4/+4
|
* - Switch from echo to printf for all translations: This is moreAndreas Gruenbacher2004-07-091-7/+7
| | | | | | | | | | | | | | | 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-8/+8
| | | | | | | .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.
* - Add support for working in subdirectories of the base directoryAndreas Gruenbacher2004-01-281-0/+73
that contains patches/ and .pc/. In the unlikely case that quilt shall operate in the sub-directory itself, it is sufficient to create a patches/ directory there. - Add a small testcase for subdirectory support.