| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Add tests for the patches command in two test cases. In particular
we want to test that the patches command works OK when patch filenames
contain spaces or other unusual characters, and that file names are
properly guessed in patches which create or delete files.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We currently ask for GNU patch >= 2.4, but the test suite doesn't
actually pass with GNU patch 2.4. It passes with GNU patch 2.5 with
minor edits to be more tolerant to the exact output of "patch".
I have no idea how much work it would be to get 2.4 to be supported
again, but it doesn't seem unreasonable to ask for 2.5 which was
released in August 1997. So let's just do that for now. If anyone
badly misses support for GNU patch 2.4, well, we accept patches ;)
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Recognize the output of more recent versions of patch, and set the
coreutils quoting style instead of matching different quoting styles.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
interrupted test won't cause a test to fail.
|
|
|
|
|
| |
directory contains a patches/ sub-directory (iow, if quilt
itself is patched with quilt).
|
|
|