Fossil SCM

Mark the failing test pre-commit-warnings-1 as a knownBug. TODO: Write a more stable test case.

rberteig 2017-03-15 23:54 trunk
Commit 876b436cf5ba1857acd3cbbe32a9c78bbaf9d423918778dcc175bcfbb331a776
1 file changed +9 -2
--- test/commit-warning.test
+++ test/commit-warning.test
@@ -20,12 +20,19 @@
2020
2121
test_setup ""
2222
2323
###############################################################################
2424
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
+#
2532
run_in_checkout {
26
- fossil test-commit-warning
33
+ fossil test-commit-warning --no-settings
2734
}
2835
2936
test pre-commit-warnings-1 {[normalize_result] eq \
3037
[subst -nocommands -novariables [string trim {
3138
1\tart/branching.odp\tbinary data
@@ -151,10 +158,10 @@
151158
1\twww/fossil3.gif\tbinary data
152159
1\twww/fossil_logo_small.gif\tbinary data
153160
1\twww/fossil_logo_small2.gif\tbinary data
154161
1\twww/fossil_logo_small3.gif\tbinary data
155162
1\twww/xkcd-git.gif\tbinary data
156
-1}]]}
163
+1}]]} knownBug
157164
158165
###############################################################################
159166
160167
test_cleanup
161168
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button