summaryrefslogtreecommitdiffstats
path: root/test/add-filename-check.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/add-filename-check.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/add-filename-check.test')
-rw-r--r--test/add-filename-check.test8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/add-filename-check.test b/test/add-filename-check.test
index 306af66..2d782a3 100644
--- a/test/add-filename-check.test
+++ b/test/add-filename-check.test
@@ -1,6 +1,5 @@
-$ rm -rf d
-$ mkdir -p d/patches
-$ cd d
+$ mkdir patches
+
$ quilt new test.diff
>Patch patches/test.diff is now on top
@@ -13,6 +12,3 @@ $ quilt add patches/bar
$ quilt add .pc/baz
> File .pc/baz is located below .pc/
-
-$ cd ..
-$ rm -rf d