summaryrefslogtreecommitdiffstats
path: root/test/delete.test
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2010-01-23 21:23:01 +0100
committerJean Delvare <jdelvare@suse.de>2010-01-23 21:23:01 +0100
commitf1458bf10fe56cb4f95f446bf35bcd09a55f6ecd (patch)
tree5fe723da550a121f8556e7bd136d4f58d0ecf374 /test/delete.test
parentb321567c52c9877a1532bf86f328f13620b06c7b (diff)
downloadquilt-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/delete.test')
-rw-r--r--test/delete.test7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/delete.test b/test/delete.test
index 3b71fc0..aa7ce88 100644
--- a/test/delete.test
+++ b/test/delete.test
@@ -1,8 +1,6 @@
Test the delete command.
- $ rm -rf d
- $ mkdir -p d/patches
- $ cd d
+ $ mkdir patches
$ quilt delete
> No patches in series
@@ -99,6 +97,3 @@ Test the delete command.
$ quilt delete test3
> Removed patch %{P}test3
-
- $ cd ..
- $ rm -rf d