Fossil SCM
Mark the failing test pre-commit-warnings-1 as a knownBug. TODO: Write a more stable test case.
Commit
876b436cf5ba1857acd3cbbe32a9c78bbaf9d423918778dcc175bcfbb331a776
Parent
d1f9f4c84ddcadc…
1 file changed
+9
-2
+9
-2
| --- test/commit-warning.test | ||
| +++ test/commit-warning.test | ||
| @@ -20,12 +20,19 @@ | ||
| 20 | 20 | |
| 21 | 21 | test_setup "" |
| 22 | 22 | |
| 23 | 23 | ############################################################################### |
| 24 | 24 | |
| 25 | +# TODO: Change to a collection of test-case crafted files | |
| 26 | +# rather than depend on this list of files that will | |
| 27 | +# be fragile as development progresses. | |
| 28 | +# | |
| 29 | +# Unless the real goal of this test is to document a collection | |
| 30 | +# of source files that MUST NEVER BE TEXT. | |
| 31 | +# | |
| 25 | 32 | run_in_checkout { |
| 26 | - fossil test-commit-warning | |
| 33 | + fossil test-commit-warning --no-settings | |
| 27 | 34 | } |
| 28 | 35 | |
| 29 | 36 | test pre-commit-warnings-1 {[normalize_result] eq \ |
| 30 | 37 | [subst -nocommands -novariables [string trim { |
| 31 | 38 | 1\tart/branching.odp\tbinary data |
| @@ -151,10 +158,10 @@ | ||
| 151 | 158 | 1\twww/fossil3.gif\tbinary data |
| 152 | 159 | 1\twww/fossil_logo_small.gif\tbinary data |
| 153 | 160 | 1\twww/fossil_logo_small2.gif\tbinary data |
| 154 | 161 | 1\twww/fossil_logo_small3.gif\tbinary data |
| 155 | 162 | 1\twww/xkcd-git.gif\tbinary data |
| 156 | -1}]]} | |
| 163 | +1}]]} knownBug | |
| 157 | 164 | |
| 158 | 165 | ############################################################################### |
| 159 | 166 | |
| 160 | 167 | test_cleanup |
| 161 | 168 |
| --- test/commit-warning.test | |
| +++ test/commit-warning.test | |
| @@ -20,12 +20,19 @@ | |
| 20 | |
| 21 | test_setup "" |
| 22 | |
| 23 | ############################################################################### |
| 24 | |
| 25 | run_in_checkout { |
| 26 | fossil test-commit-warning |
| 27 | } |
| 28 | |
| 29 | test pre-commit-warnings-1 {[normalize_result] eq \ |
| 30 | [subst -nocommands -novariables [string trim { |
| 31 | 1\tart/branching.odp\tbinary data |
| @@ -151,10 +158,10 @@ | |
| 151 | 1\twww/fossil3.gif\tbinary data |
| 152 | 1\twww/fossil_logo_small.gif\tbinary data |
| 153 | 1\twww/fossil_logo_small2.gif\tbinary data |
| 154 | 1\twww/fossil_logo_small3.gif\tbinary data |
| 155 | 1\twww/xkcd-git.gif\tbinary data |
| 156 | 1}]]} |
| 157 | |
| 158 | ############################################################################### |
| 159 | |
| 160 | test_cleanup |
| 161 |
| --- test/commit-warning.test | |
| +++ test/commit-warning.test | |
| @@ -20,12 +20,19 @@ | |
| 20 | |
| 21 | test_setup "" |
| 22 | |
| 23 | ############################################################################### |
| 24 | |
| 25 | # TODO: Change to a collection of test-case crafted files |
| 26 | # rather than depend on this list of files that will |
| 27 | # be fragile as development progresses. |
| 28 | # |
| 29 | # Unless the real goal of this test is to document a collection |
| 30 | # of source files that MUST NEVER BE TEXT. |
| 31 | # |
| 32 | run_in_checkout { |
| 33 | fossil test-commit-warning --no-settings |
| 34 | } |
| 35 | |
| 36 | test pre-commit-warnings-1 {[normalize_result] eq \ |
| 37 | [subst -nocommands -novariables [string trim { |
| 38 | 1\tart/branching.odp\tbinary data |
| @@ -151,10 +158,10 @@ | |
| 158 | 1\twww/fossil3.gif\tbinary data |
| 159 | 1\twww/fossil_logo_small.gif\tbinary data |
| 160 | 1\twww/fossil_logo_small2.gif\tbinary data |
| 161 | 1\twww/fossil_logo_small3.gif\tbinary data |
| 162 | 1\twww/xkcd-git.gif\tbinary data |
| 163 | 1}]]} knownBug |
| 164 | |
| 165 | ############################################################################### |
| 166 | |
| 167 | test_cleanup |
| 168 |