Fossil

Check-in [876b436c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Mark the failing test pre-commit-warnings-1 as a knownBug. TODO: Write a more stable test case.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 876b436cf5ba1857acd3cbbe32a9c78bbaf9d423918778dcc175bcfbb331a776
User & Date: rberteig 2017-03-15 23:54:50
Context
2017-03-16
00:04
Skip entire merge5.test until fossil sqlite3 --no-repository works right. check-in: 6167f69a user: rberteig tags: trunk
2017-03-15
23:54
Mark the failing test pre-commit-warnings-1 as a knownBug. TODO: Write a more stable test case. check-in: 876b436c user: rberteig tags: trunk
23:53
Remove an unused variable from the /dir webpage implementation. check-in: d1f9f4c8 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/commit-warning.test.

18
19
20
21
22
23
24







25
26
27
28
29
30
31
32
33
...
149
150
151
152
153
154
155
156
157
158
159
160
# The focus of this file is to test pre-commit warnings.
#

test_setup ""

###############################################################################








run_in_checkout {
  fossil test-commit-warning
}

test pre-commit-warnings-1 {[normalize_result] eq \
    [subst -nocommands -novariables [string trim {
1\tart/branching.odp\tbinary data
1\tart/concept1.dia\tbinary data
1\tart/concept2.dia\tbinary data
................................................................................
1\twww/fossil.gif\tbinary data
1\twww/fossil2.gif\tbinary data
1\twww/fossil3.gif\tbinary data
1\twww/fossil_logo_small.gif\tbinary data
1\twww/fossil_logo_small2.gif\tbinary data
1\twww/fossil_logo_small3.gif\tbinary data
1\twww/xkcd-git.gif\tbinary data
1}]]}

###############################################################################

test_cleanup







>
>
>
>
>
>
>

|







 







|




18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
...
156
157
158
159
160
161
162
163
164
165
166
167
# The focus of this file is to test pre-commit warnings.
#

test_setup ""

###############################################################################

# TODO: Change to a collection of test-case crafted files
#       rather than depend on this list of files that will
#       be fragile as development progresses.
# 
# Unless the real goal of this test is to document a collection
# of source files that MUST NEVER BE TEXT.
#
run_in_checkout {
  fossil test-commit-warning --no-settings
}

test pre-commit-warnings-1 {[normalize_result] eq \
    [subst -nocommands -novariables [string trim {
1\tart/branching.odp\tbinary data
1\tart/concept1.dia\tbinary data
1\tart/concept2.dia\tbinary data
................................................................................
1\twww/fossil.gif\tbinary data
1\twww/fossil2.gif\tbinary data
1\twww/fossil3.gif\tbinary data
1\twww/fossil_logo_small.gif\tbinary data
1\twww/fossil_logo_small2.gif\tbinary data
1\twww/fossil_logo_small3.gif\tbinary data
1\twww/xkcd-git.gif\tbinary data
1}]]} knownBug

###############################################################################

test_cleanup