Fossil SCM

Remove dependency on sha1 package from set-manifest.test

danshearer 2026-11-17 13:08 UTC test-suite-new
Commit 6795d4300693ef3b25cc3283691103c708a4db9acc7ccb3ff349dc2cd88a5a75
+1 -1
--- test/README.md
+++ test/README.md
@@ -40,11 +40,11 @@
4040
The following tests are skipped when their requirements are missing:
4141
4242
| Needs | Test files |
4343
| --- | --- |
4444
| a TCP connection over the loopback interface | `unversioned` |
45
-| the `sha1` package from tcllib | `set-manifest`, `unversioned` |
45
+| the `sha1` package from tcllib | `unversioned` |
4646
| `configure --json` | `json` |
4747
| `configure --with-th1-docs` | `th1-docs` |
4848
| `configure --with-th1-hooks` | `th1-hooks` |
4949
| `configure --with-tcl` | `th1-tcl` |
5050
5151
--- test/README.md
+++ test/README.md
@@ -40,11 +40,11 @@
40 The following tests are skipped when their requirements are missing:
41
42 | Needs | Test files |
43 | --- | --- |
44 | a TCP connection over the loopback interface | `unversioned` |
45 | the `sha1` package from tcllib | `set-manifest`, `unversioned` |
46 | `configure --json` | `json` |
47 | `configure --with-th1-docs` | `th1-docs` |
48 | `configure --with-th1-hooks` | `th1-hooks` |
49 | `configure --with-tcl` | `th1-tcl` |
50
51
--- test/README.md
+++ test/README.md
@@ -40,11 +40,11 @@
40 The following tests are skipped when their requirements are missing:
41
42 | Needs | Test files |
43 | --- | --- |
44 | a TCP connection over the loopback interface | `unversioned` |
45 | the `sha1` package from tcllib | `unversioned` |
46 | `configure --json` | `json` |
47 | `configure --with-th1-docs` | `th1-docs` |
48 | `configure --with-th1-hooks` | `th1-hooks` |
49 | `configure --with-tcl` | `th1-tcl` |
50
51
--- test/set-manifest.test
+++ test/set-manifest.test
@@ -29,18 +29,10 @@
2929
}
3030
}
3131
return 0
3232
}
3333
34
-# We need SHA1 to effectively test the manifest files produced by
35
-# fossil. It looks like the one from tcllib is exactly what we need.
36
-# On ActiveTcl, add it with teacup. On other platforms, YMMV.
37
-# teacup install sha1
38
-if {[catch {package require sha1}] != 0} {
39
- test_skip "The \"sha1\" package for Tcl is not available."
40
-}
41
-
4234
# We need a repository, so let it have one.
4335
test_setup
4436
4537
#### Verify classic behavior of the manifest setting
4638
4739
--- test/set-manifest.test
+++ test/set-manifest.test
@@ -29,18 +29,10 @@
29 }
30 }
31 return 0
32 }
33
34 # We need SHA1 to effectively test the manifest files produced by
35 # fossil. It looks like the one from tcllib is exactly what we need.
36 # On ActiveTcl, add it with teacup. On other platforms, YMMV.
37 # teacup install sha1
38 if {[catch {package require sha1}] != 0} {
39 test_skip "The \"sha1\" package for Tcl is not available."
40 }
41
42 # We need a repository, so let it have one.
43 test_setup
44
45 #### Verify classic behavior of the manifest setting
46
47
--- test/set-manifest.test
+++ test/set-manifest.test
@@ -29,18 +29,10 @@
29 }
30 }
31 return 0
32 }
33
 
 
 
 
 
 
 
 
34 # We need a repository, so let it have one.
35 test_setup
36
37 #### Verify classic behavior of the manifest setting
38
39

Keyboard Shortcuts

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