| 1 |
This directory contains various per-hash values that are used in the testsuite. |
| 2 |
|
| 3 |
Each file contains lines containing a key-value pair; blank lines and lines |
| 4 |
starting with `#` are ignored. The key and value are separated by whitespace |
| 5 |
(specifically, those whitespace in the default `$IFS`). The key consists only |
| 6 |
of shell identifier characters, and the value consists of a hash algorithm, |
| 7 |
colon, and value. The hash algorithm also consists only of shell identifier |
| 8 |
characters; it should match the value in object-file.c. |
| 9 |
|
| 10 |
For example, the following lines map the key "rawsz" to "20" if SHA-1 is in use |
| 11 |
and to "32" if SHA-256 is in use: |
| 12 |
|
| 13 |
---- |
| 14 |
rawsz sha1:20 |
| 15 |
rawsz sha256:32 |
| 16 |
---- |
| 17 |
|
| 18 |
The keys and values used here are loaded by `test_oid_init` (see the README file |
| 19 |
in the "t" directory) and are used by calling `test_oid`. |