diff options
author | Jean Delvare <jdelvare@suse.de> | 2010-01-23 21:23:01 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2010-01-23 21:23:01 +0100 |
commit | f1458bf10fe56cb4f95f446bf35bcd09a55f6ecd (patch) | |
tree | 5fe723da550a121f8556e7bd136d4f58d0ecf374 /test/perms.test | |
parent | b321567c52c9877a1532bf86f328f13620b06c7b (diff) | |
download | quilt-f1458bf10fe56cb4f95f446bf35bcd09a55f6ecd.tar.gz |
Separate working directory for each test case
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.
Diffstat (limited to 'test/perms.test')
-rw-r--r-- | test/perms.test | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/perms.test b/test/perms.test index db13286..7539f67 100644 --- a/test/perms.test +++ b/test/perms.test @@ -1,7 +1,6 @@ - $ rm -rf d $ umask 022 - $ mkdir -p d/patches - $ cd d + $ mkdir patches + $ echo foo > foo $ chmod 704 foo $ ls -l foo | awk '{ print $1,$NF }' @@ -55,6 +54,3 @@ the backup file. $ quilt pop -q > Removing patch %{P}test2.diff > Now at patch %{P}test.diff - - $ cd .. - $ rm -rf d |