Fossil SCM
Update hash regexp to defend against full length SHA3 hashes.
Commit
38115a0bd96c3788e36506b965f938bd31f0d0b65cf26dd7866abefb80a9a15d
Parent
f92672bda33bf86…
1 file changed
+1
-1
+1
-1
| --- test/th1-docs.test | ||
| +++ test/th1-docs.test | ||
| @@ -61,11 +61,11 @@ | ||
| 61 | 61 | set RESULT [test_fossil_http \ |
| 62 | 62 | $repository $dataFileName /doc/trunk/test/fileStat.th1] |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | test th1-docs-1a {[regexp {<title>Fossil: test/fileStat.th1</title>} $RESULT]} |
| 66 | -test th1-docs-1b {[regexp {>\[[0-9a-f]{40}\]<} $RESULT]} | |
| 66 | +test th1-docs-1b {[regexp {>\[[0-9a-f]{40,64}\]<} $RESULT]} | |
| 67 | 67 | test th1-docs-1c {[regexp { contains \d+ files\.} $RESULT]} |
| 68 | 68 | |
| 69 | 69 | ############################################################################### |
| 70 | 70 | |
| 71 | 71 | test_cleanup |
| 72 | 72 |
| --- test/th1-docs.test | |
| +++ test/th1-docs.test | |
| @@ -61,11 +61,11 @@ | |
| 61 | set RESULT [test_fossil_http \ |
| 62 | $repository $dataFileName /doc/trunk/test/fileStat.th1] |
| 63 | } |
| 64 | |
| 65 | test th1-docs-1a {[regexp {<title>Fossil: test/fileStat.th1</title>} $RESULT]} |
| 66 | test th1-docs-1b {[regexp {>\[[0-9a-f]{40}\]<} $RESULT]} |
| 67 | test th1-docs-1c {[regexp { contains \d+ files\.} $RESULT]} |
| 68 | |
| 69 | ############################################################################### |
| 70 | |
| 71 | test_cleanup |
| 72 |
| --- test/th1-docs.test | |
| +++ test/th1-docs.test | |
| @@ -61,11 +61,11 @@ | |
| 61 | set RESULT [test_fossil_http \ |
| 62 | $repository $dataFileName /doc/trunk/test/fileStat.th1] |
| 63 | } |
| 64 | |
| 65 | test th1-docs-1a {[regexp {<title>Fossil: test/fileStat.th1</title>} $RESULT]} |
| 66 | test th1-docs-1b {[regexp {>\[[0-9a-f]{40,64}\]<} $RESULT]} |
| 67 | test th1-docs-1c {[regexp { contains \d+ files\.} $RESULT]} |
| 68 | |
| 69 | ############################################################################### |
| 70 | |
| 71 | test_cleanup |
| 72 |