-
-
Notifications
You must be signed in to change notification settings - Fork 337
Fix tests to work with FIPS enabled #4047
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
d8f3bc2
a1ef39f
188d6f8
1557596
1dc541e
699d6b0
0ff5949
edcb036
3a7e061
d83d77d
27951cb
da5c619
1ace1cf
3b9bcab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ venv.bak/ | |
|
||
|
||
# SCons files | ||
.sconsign.* | ||
.sconsign* | ||
|
||
# Tool output | ||
.coverage | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -592,7 +592,7 @@ def my_contents(obj): | |
node = SCons.Node.Node() | ||
node._func_get_contents = 4 | ||
result = node.get_csig() | ||
assert result == '550a141f12de6341fba65b0ad0433500', result | ||
assert result == '550a141f12de6341fba65b0ad0433500' or result == '9a3e61b6bcc8abec08f195526c3132d5a4a98cc0' or result == '3538a1ef2e113da64249eea7bd068b585ec7ce5df73b2d1e319d8c9bf47eb314', result | ||
|
||
finally: | ||
SCons.Node.Node.NodeInfo = SCons.Node.NodeInfoBase | ||
|
||
|
@@ -609,7 +609,7 @@ def my_contents(obj): | |
node = SCons.Node.Node() | ||
node._func_get_contents = 4 | ||
result = node.get_cachedir_csig() | ||
assert result == '15de21c670ae7c3f6f3f1f37029303c9', result | ||
assert result == '15de21c670ae7c3f6f3f1f37029303c9' or result == 'cfa1150f1787186742a9a884b73a43d8cf219f9b' or result == '91a73fd806ab2c005c13b4dc19130a884e909dea3f72d46e30266fe1a1f588d8', result | ||
finally: | ||
SCons.Node.Node.NodeInfo = SCons.Node.NodeInfoBase | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1185,8 +1185,8 @@ to use the specified algorithm.</para> | |
For example, <option>--hash-format=sha256</option> will create a SConsign | ||
database with name <filename>.sconsign_sha256.dblite</filename>.</para> | ||
|
||
<para>If this option is not specified, a hash format of | ||
md5 is used, and the SConsign database is | ||
<para>If this option is not specified, a the first supported hash format found | ||
is selected, and the SConsign database is | ||
|
||
<filename>.sconsign.dblite</filename>.</para> | ||
|
||
<para><emphasis>Available since &scons; 4.2.</emphasis></para> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit should be "SCons", not "Scons"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops. I keep doing that, I will get to it tomorrow 😁