summaryrefslogtreecommitdiffstats
path: root/test/example1.test
Commit message (Collapse)AuthorAgeFilesLines
* test: Consistently use %{P} and %{_P}Jean Delvare2017-05-091-1/+1
| | | | | | | | | | | 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>
* test: Drop incorrect uses of %{P}Jean Delvare2017-05-091-1/+1
| | | | | | | | | %{P} only makes sense when checking the output of a quilt command. The value of QUILT_PATCHES_PREFIX can obviously not affect what the user is writing on the command line, nor the output of other commands. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* files: Add support for unapplied patchesJean Delvare2014-07-231-0/+3
| | | | | | We already have a function to figure out which files are touched by unapplied patches. The only thing missing to let the user call "quilt files" on unapplied patches was two small spots of glue.
* files: Return nothing if there are no filesJean Delvare2014-02-141-0/+1
| | | | | | | "quilt files" returns a blank line if no files are included in the patch. This could easily break constructs such as "quilt files | wc -l". Let "quilt files" return nothing at all if there are no files in the patch.
* Tree-wide white-space cleanupsJean Delvare2014-01-201-1/+1
| | | | | | | * 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.
* Let the test suite cover "quilt grep".Jean Delvare2011-03-071-0/+5
|
* Separate working directory for each test caseJean Delvare2010-01-231-22/+18
| | | | | | | | | | | | | | | | | 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.
* - configure.ac: Require GNU patch 2.4+.Andreas Gruenbacher2006-01-231-1/+1
| | | | | | - quilt/import.in: Don't use diff -U-1. - Test suite: Recognize output of old versions of patch (from jayvdb@gmail.com).
* - GNU patch 2.5 messages differ slightly from the messages of moreAndreas Gruenbacher2006-01-211-4/+4
| | | | | | recent versions. Recognize the old version's output when fixing patch's output in the push command, and also accept the old version's output in the test suite.
* - 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/*.test: Fix sed compatibility issues: do not use inplace (-i); doJean Delvare2005-09-091-4/+6
| | | | | | 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.
* - Get rid of the apatch and rpatch helper scripts: Integrate themAndreas Gruenbacher2004-11-151-1/+1
| | | | | in the push and pop commands. This should bring a small performance improvement.
* - Switch from echo to printf for all translations: This is moreAndreas Gruenbacher2004-07-091-11/+11
| | | | | | | | | | | | | | | 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.
* - Revert `quilt fork' to how it originally worked: fork theAndreas Gruenbacher2004-03-131-0/+138
*topmost* patch, not the next unapplied patch. Adapt the test suite accordingly. - Add flag to backup-files.c to make sure that files in the working tree have a link count of at most one. Use this where appropriate. - Fix a bug in `quilt snapshot': Taking snapshots caused files to get link counts bigger than one, so modifying them could cause multiple files to get modified. Speed up the command, too. - Update the documentation. Add example1.test from the documentation.