Fossil SCM
Add pre-commit warning tests.
Commit
a8b0c5f1135c701ea9e03d4cc327b011c8d4a02c
Parent
b4a1b2fab941f8b…
1 file changed
+69
+69
| --- a/test/commit-warning.test | ||
| +++ b/test/commit-warning.test | ||
| @@ -0,0 +1,69 @@ | ||
| 1 | +# | |
| 2 | +# Copyright (c) 2015 D. Richard Hipp | |
| 3 | +# | |
| 4 | +# This program is free software; you can redistribute it and/or | |
| 5 | +# modify it under the terms of the Simplified BSD License (also | |
| 6 | +# known as the "2-Clause License" or "FreeBSD License".) | |
| 7 | +# | |
| 8 | +# This program is distributed in the hope that it will be useful, | |
| 9 | +# but without any warranty; without even the implied warranty of | |
| 10 | +# merchantability or fitness for a particular purpose. | |
| 11 | +# | |
| 12 | +# Author contact information: | |
| 13 | +# [email protected] | |
| 14 | +# http://www.hwaci.com/drh/ | |
| 15 | +# | |
| 16 | +############################################################################ | |
| 17 | +# | |
| 18 | +# The focus of this file is to test pre-commit warnings. | |
| 19 | +# | |
| 20 | + | |
| 21 | +test_setup "" | |
| 22 | +http://www.hwaci.com/drh/ | |
| 23 | +# | |
| 24 | +#################################################ta2de2016 D. Richard ippp_text1\twww/branch0(also | |
| 25 | +# kght (c) 2016 D. RichardHipp | |
| 26 | +# | |
| 27 | +# This p1\twww/delta11\twww/delta# Copyright (c) 2016 D. Richard71}]] | |
| 28 | +http://www.hwaci.com/drh/ | |
| 29 | +# | |
| 30 | +#################################################### | |
| 31 | + | |
| 32 | +test_cleanChangeLog\tUnicode | |
| 33 | +1\tutf-16README.contrib\tUnicode | |
| 34 | +1\tutf-1611 bit NUL:\xC0\x80U+10FFFF only, | |
| 35 | +# with U+D\x00 plain.txt { | |
| 36 | +Lorechard HippNLog# | |
| 37 | +# Copyright (c) 2016 D. bombe-hello "$bomBEU+10FFFF only, | |
| 38 | +# with U+D\x00 plNL\x80\x80\x80\x80AssemblyInfo.cs\tCR/NL\x80\x80\x80\x80DotZLib.csproj\tCR/NL\x80\x80\x80\x80UnitTests.cs\tCR/NLgate U+D800:\xED\xA0\x80 is NLl "trail surrogate U+DCNL | |
| 39 | +1\tline-64K\tlong lines | |
| 40 | +1NL1\tutf-16be-bombe-hello\tNLtutf-bad-f4-90-bom-16le-NLan redistribute i# | |
| 41 | +# CopyNL program is free software;NLy it under the terms ofNLwn as the "2-Clause LicenNLgram is distributed in thNLthout any warranty; withoNLantability or fitness fNLtact information: | |
| 42 | +# [email protected] | |
| 43 | +# http://www.hwaci.com/drh/ | |
| 44 | +# | |
| 45 | +#######NLThis prog# | |
| 46 | +# Copyright (c)NLreadme.txt\tCR/NL0/miniunz.vcxproj\tCR/NL bit NUL:\xF8\x80\x80\x80\x80 NL0/miniunz.vcxproj.user\tCR/NL bit NUL:\xFC\x80\x80\NLC\x80\x80\x80\x80\x80 is bad\nNL0/minizip.vcxproj.user\tCR/NL0/testzlib.vcxproj\tCR/NL_file utf-bad-c1-bf "overlong DNL_file utf-bad-c1-bfuser\tCR/NLrite_file utf-bad-f4-90-80NLrite_file utf-bad-f4-.filters\tCR/NLrite_file utf-bad-f4-.user\tCR/NL0/zlib.rc\tCR/NLogate U+D800:\xED\xA0\xNLogate U+D800:\xED\.filters\tCR/NLogate U+D800:\xED\.user\tCR/NL0NL0/zlibvc.sln\tCR/NLtf-bad-f4-90-bom-16leNLibute i# | |
| 47 | +# Copyright (c) 2016NL0/zlibvc.vcxproj.user\tCR/NL1/miniunz.vcxproj\tCR/NLknown as the "2-ClauseNL1/testzlib.vcxproj\tCR/NL1ite_file utf-bad-f4-90-80NL1/zlib.rc\tCR/NL1gate U+D800:\xED\xA0\xNL1NL1/zlibvc.sln\tCR/NL1f-bad-f4-90-bom-16leNL9/miniunz.vcproj\tCR/NL9/minizip.vcproj\tCR/NLNLNL9/zlib.rc\tCR/NLNL9NL9/zlibvc.sln\tCR/NL9/zlibvc.vcproj\tCR/NLsetup/fossil.iss\tCR/NLlified BSD License (also | |
| 48 | +# known as the "2-Clause License" or "FreeBSD License".) | |
| 49 | +# | |
| 50 | +# This program is distributed in the hope that it will be useful, | |
| 51 | +# but without any warranty; without even the implied warranty of | |
| 52 | +# merchantability or fitness for a particular purpose. | |
| 53 | +# | |
| 54 | +# Author contact information: | |
| 55 | +# [email protected] | |
| 56 | +# http://www.hwaci.com/drh/ | |
| 57 | +# | |
| 58 | +### | |
| 59 | +NLBSD License (also | |
| 60 | +# known as the "2-Clause License" or "FreeBSD License".) | |
| 61 | +# | |
| 62 | +# T# | |
| 63 | +knownBug | |
| 64 | +http://www.hwaci.com/drh/ | |
| 65 | +# | |
| 66 | +################################################# | |
| 67 | +http://www.hwaci.com/drh/ | |
| 68 | +# | |
| 69 | +################################################# |
| --- a/test/commit-warning.test | |
| +++ b/test/commit-warning.test | |
| @@ -0,0 +1,69 @@ | |
| --- a/test/commit-warning.test | |
| +++ b/test/commit-warning.test | |
| @@ -0,0 +1,69 @@ | |
| 1 | # |
| 2 | # Copyright (c) 2015 D. Richard Hipp |
| 3 | # |
| 4 | # This program is free software; you can redistribute it and/or |
| 5 | # modify it under the terms of the Simplified BSD License (also |
| 6 | # known as the "2-Clause License" or "FreeBSD License".) |
| 7 | # |
| 8 | # This program is distributed in the hope that it will be useful, |
| 9 | # but without any warranty; without even the implied warranty of |
| 10 | # merchantability or fitness for a particular purpose. |
| 11 | # |
| 12 | # Author contact information: |
| 13 | # [email protected] |
| 14 | # http://www.hwaci.com/drh/ |
| 15 | # |
| 16 | ############################################################################ |
| 17 | # |
| 18 | # The focus of this file is to test pre-commit warnings. |
| 19 | # |
| 20 | |
| 21 | test_setup "" |
| 22 | http://www.hwaci.com/drh/ |
| 23 | # |
| 24 | #################################################ta2de2016 D. Richard ippp_text1\twww/branch0(also |
| 25 | # kght (c) 2016 D. RichardHipp |
| 26 | # |
| 27 | # This p1\twww/delta11\twww/delta# Copyright (c) 2016 D. Richard71}]] |
| 28 | http://www.hwaci.com/drh/ |
| 29 | # |
| 30 | #################################################### |
| 31 | |
| 32 | test_cleanChangeLog\tUnicode |
| 33 | 1\tutf-16README.contrib\tUnicode |
| 34 | 1\tutf-1611 bit NUL:\xC0\x80U+10FFFF only, |
| 35 | # with U+D\x00 plain.txt { |
| 36 | Lorechard HippNLog# |
| 37 | # Copyright (c) 2016 D. bombe-hello "$bomBEU+10FFFF only, |
| 38 | # with U+D\x00 plNL\x80\x80\x80\x80AssemblyInfo.cs\tCR/NL\x80\x80\x80\x80DotZLib.csproj\tCR/NL\x80\x80\x80\x80UnitTests.cs\tCR/NLgate U+D800:\xED\xA0\x80 is NLl "trail surrogate U+DCNL |
| 39 | 1\tline-64K\tlong lines |
| 40 | 1NL1\tutf-16be-bombe-hello\tNLtutf-bad-f4-90-bom-16le-NLan redistribute i# |
| 41 | # CopyNL program is free software;NLy it under the terms ofNLwn as the "2-Clause LicenNLgram is distributed in thNLthout any warranty; withoNLantability or fitness fNLtact information: |
| 42 | # [email protected] |
| 43 | # http://www.hwaci.com/drh/ |
| 44 | # |
| 45 | #######NLThis prog# |
| 46 | # Copyright (c)NLreadme.txt\tCR/NL0/miniunz.vcxproj\tCR/NL bit NUL:\xF8\x80\x80\x80\x80 NL0/miniunz.vcxproj.user\tCR/NL bit NUL:\xFC\x80\x80\NLC\x80\x80\x80\x80\x80 is bad\nNL0/minizip.vcxproj.user\tCR/NL0/testzlib.vcxproj\tCR/NL_file utf-bad-c1-bf "overlong DNL_file utf-bad-c1-bfuser\tCR/NLrite_file utf-bad-f4-90-80NLrite_file utf-bad-f4-.filters\tCR/NLrite_file utf-bad-f4-.user\tCR/NL0/zlib.rc\tCR/NLogate U+D800:\xED\xA0\xNLogate U+D800:\xED\.filters\tCR/NLogate U+D800:\xED\.user\tCR/NL0NL0/zlibvc.sln\tCR/NLtf-bad-f4-90-bom-16leNLibute i# |
| 47 | # Copyright (c) 2016NL0/zlibvc.vcxproj.user\tCR/NL1/miniunz.vcxproj\tCR/NLknown as the "2-ClauseNL1/testzlib.vcxproj\tCR/NL1ite_file utf-bad-f4-90-80NL1/zlib.rc\tCR/NL1gate U+D800:\xED\xA0\xNL1NL1/zlibvc.sln\tCR/NL1f-bad-f4-90-bom-16leNL9/miniunz.vcproj\tCR/NL9/minizip.vcproj\tCR/NLNLNL9/zlib.rc\tCR/NLNL9NL9/zlibvc.sln\tCR/NL9/zlibvc.vcproj\tCR/NLsetup/fossil.iss\tCR/NLlified BSD License (also |
| 48 | # known as the "2-Clause License" or "FreeBSD License".) |
| 49 | # |
| 50 | # This program is distributed in the hope that it will be useful, |
| 51 | # but without any warranty; without even the implied warranty of |
| 52 | # merchantability or fitness for a particular purpose. |
| 53 | # |
| 54 | # Author contact information: |
| 55 | # [email protected] |
| 56 | # http://www.hwaci.com/drh/ |
| 57 | # |
| 58 | ### |
| 59 | NLBSD License (also |
| 60 | # known as the "2-Clause License" or "FreeBSD License".) |
| 61 | # |
| 62 | # T# |
| 63 | knownBug |
| 64 | http://www.hwaci.com/drh/ |
| 65 | # |
| 66 | ################################################# |
| 67 | http://www.hwaci.com/drh/ |
| 68 | # |
| 69 | ################################################# |