diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-09-23 18:34:53 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2005-09-23 18:34:53 +0000 |
commit | 477a03dcae94ca5df6165dd1465718252e52698f (patch) | |
tree | 29703a11282682934c64ed5d08deb6ed35228698 | |
parent | 2f897ab0c9e424d24e54e5c7ba0e71f28fb3baa2 (diff) | |
download | quilt-477a03dcae94ca5df6165dd1465718252e52698f.tar.gz |
- Fix the test suite so that directories leftover from a previously
interrupted test won't cause a test to fail.
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | test/add-filename-check.test | 1 | ||||
-rw-r--r-- | test/annotate.test | 1 | ||||
-rw-r--r-- | test/comments.test | 1 | ||||
-rw-r--r-- | test/conflicts.test | 1 | ||||
-rw-r--r-- | test/create-delete.test | 1 | ||||
-rw-r--r-- | test/delete.test | 1 | ||||
-rw-r--r-- | test/dotglob.test | 1 | ||||
-rw-r--r-- | test/example1.test | 1 | ||||
-rw-r--r-- | test/failpop.test | 1 | ||||
-rw-r--r-- | test/fold.test | 1 | ||||
-rw-r--r-- | test/formats.test | 1 | ||||
-rw-r--r-- | test/header.test | 1 | ||||
-rw-r--r-- | test/merge.test | 1 | ||||
-rw-r--r-- | test/missing.test | 1 | ||||
-rw-r--r-- | test/new-nosubdir.test | 1 | ||||
-rw-r--r-- | test/new.test | 1 | ||||
-rw-r--r-- | test/one.test | 1 | ||||
-rw-r--r-- | test/perms.test | 1 | ||||
-rw-r--r-- | test/remove.test | 1 | ||||
-rw-r--r-- | test/remove2.test | 1 | ||||
-rw-r--r-- | test/rename.test | 1 | ||||
-rw-r--r-- | test/snapshot.test | 1 | ||||
-rw-r--r-- | test/snapshot2.test | 1 | ||||
-rw-r--r-- | test/sort.test | 1 | ||||
-rw-r--r-- | test/subdir.test | 1 | ||||
-rw-r--r-- | test/trailing-ws.test | 1 | ||||
-rw-r--r-- | test/two.test | 1 |
28 files changed, 33 insertions, 0 deletions
diff --git a/quilt.changes b/quilt.changes index dce870f..d884e96 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Sep 23 20:32:38 CEST 2005 - khali@linux-fr.org + +- Fix the test suite so that directories leftover from a previously + interrupted test won't cause a test to fail. + +------------------------------------------------------------------- Fri Sep 23 20:27:08 CEST 2005 - khali@linux-fr.org - Drop test/reorder.test, it duplicates test/sort.test but is diff --git a/test/add-filename-check.test b/test/add-filename-check.test index 9a26a53..f19f3de 100644 --- a/test/add-filename-check.test +++ b/test/add-filename-check.test @@ -1,3 +1,4 @@ +$ rm -rf d $ mkdir -p d/patches $ cd d $ quilt new test.diff diff --git a/test/annotate.test b/test/annotate.test index ae983e3..fb73696 100644 --- a/test/annotate.test +++ b/test/annotate.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/comments.test b/test/comments.test index d5e58fc..cb440f6 100644 --- a/test/comments.test +++ b/test/comments.test @@ -1,6 +1,7 @@ Regresion test case: Empty lines in patch descriptions were accidentally removed. + $ rm -rf d $ mkdir -p d/patches $ cd d $ echo one > f diff --git a/test/conflicts.test b/test/conflicts.test index 2188bfc..bc8b600 100644 --- a/test/conflicts.test +++ b/test/conflicts.test @@ -2,6 +2,7 @@ This test case creates a patch and then applies that patch to a modified source file. The source file is modified until the patch doesn't apply anymore, then the patch is fixed. + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/create-delete.test b/test/create-delete.test index 5bdf9d6..8040f62 100644 --- a/test/create-delete.test +++ b/test/create-delete.test @@ -1,6 +1,7 @@ Check whether quilt generates patches properly so that GNU patch recognizes file creates and deletions. + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/delete.test b/test/delete.test index da863e4..7fd3255 100644 --- a/test/delete.test +++ b/test/delete.test @@ -1,5 +1,6 @@ Test the delete command. + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/dotglob.test b/test/dotglob.test index b892bdb..3fdd2d2 100644 --- a/test/dotglob.test +++ b/test/dotglob.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/example1.test b/test/example1.test index e7efbb4..3ab2d64 100644 --- a/test/example1.test +++ b/test/example1.test @@ -1,6 +1,7 @@ The text used here was taken from: http://the-tech.mit.edu/Shakespeare/midsummer/full.html + $ rm -rf example1 $ mkdir -p example1/patches $ cd example1 $ cat > Oberon.txt diff --git a/test/failpop.test b/test/failpop.test index f921977..c627461 100644 --- a/test/failpop.test +++ b/test/failpop.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/fold.test b/test/fold.test index 5883b6e..fa84a39 100644 --- a/test/fold.test +++ b/test/fold.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/formats.test b/test/formats.test index aa9931e..a30ac45 100644 --- a/test/formats.test +++ b/test/formats.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/header.test b/test/header.test index 3d89d97..29d89b3 100644 --- a/test/header.test +++ b/test/header.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/merge.test b/test/merge.test index 5d2deb5..b50495d 100644 --- a/test/merge.test +++ b/test/merge.test @@ -1,5 +1,6 @@ Test the patch merging functionality of `quilt diff'. + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/missing.test b/test/missing.test index 5361dad..a896e1f 100644 --- a/test/missing.test +++ b/test/missing.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/new-nosubdir.test b/test/new-nosubdir.test index e5826b4..021ce4a 100644 --- a/test/new-nosubdir.test +++ b/test/new-nosubdir.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/new.test b/test/new.test index 90cf47c..ede6eed 100644 --- a/test/new.test +++ b/test/new.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/one.test b/test/one.test index ca5d33b..de9c2d9 100644 --- a/test/one.test +++ b/test/one.test @@ -5,6 +5,7 @@ of the installed quilt with `make check'. (To run, type `./run one.test' in this directory.) + $ rm -rf d $ mkdir -p d/patches $ cd d $ mkdir dir diff --git a/test/perms.test b/test/perms.test index 4b56f2d..7211b74 100644 --- a/test/perms.test +++ b/test/perms.test @@ -1,3 +1,4 @@ + $ rm -rf d $ umask 022 $ mkdir -p d/patches $ cd d diff --git a/test/remove.test b/test/remove.test index f8026bd..33596e2 100644 --- a/test/remove.test +++ b/test/remove.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/remove2.test b/test/remove2.test index a7a5882..8d99910 100644 --- a/test/remove2.test +++ b/test/remove2.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/rename.test b/test/rename.test index 4478a52..7d8789d 100644 --- a/test/rename.test +++ b/test/rename.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/snapshot.test b/test/snapshot.test index 5acf487..f711066 100644 --- a/test/snapshot.test +++ b/test/snapshot.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/snapshot2.test b/test/snapshot2.test index fc9462c..0e25d79 100644 --- a/test/snapshot2.test +++ b/test/snapshot2.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches d/d $ cd d $ quilt new snapshot diff --git a/test/sort.test b/test/sort.test index 20cc59d..19b3506 100644 --- a/test/sort.test +++ b/test/sort.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/subdir.test b/test/subdir.test index 106c1c5..88d9cac 100644 --- a/test/subdir.test +++ b/test/subdir.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/trailing-ws.test b/test/trailing-ws.test index 84b716c..45d1c36 100644 --- a/test/trailing-ws.test +++ b/test/trailing-ws.test @@ -1,3 +1,4 @@ + $ rm -rf d $ mkdir -p d/patches $ cd d diff --git a/test/two.test b/test/two.test index 7f51345..9d823b7 100644 --- a/test/two.test +++ b/test/two.test @@ -1,5 +1,6 @@ (To run, type `./run two.test' in this directory.) + $ rm -rf d $ mkdir -p d/patches d/d $ cd d $ quilt new patch1.diff |