| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Now that we have the snippet-driven test_variable_data suite, most of
the other longer hand-written tests are duplicative.
|
|
|
|
|
| |
These tests are already taken care of with the snippet-driven library
constructor tests.
|
|
|
|
|
|
|
|
| |
We want to make it easier to test a bunch of different functions that
might be invoked in constructors of other libraries.
It seems conceivable that with these snippets, we could design other
tests that also work across a wide range of intercepted functions.
|
|
|
|
|
| |
We want to ensure that tools that call getentropy() are also
controlled appropriately.
|
| |
|
|
|
|
|
|
|
|
|
| |
A single program that invokes getrandom() repeatedly should end up
with the same stream of bytes, regardless of how it chunks up the
reading from the entropy source.
This test already passses. I'm including it because it seems
like a useful confirmation.
|
|
|
|
|
| |
Running "make randomtest" should demonstrates the segfault described
in https://github.com/wolfcw/libfaketime/issues/295
|
|
|
|
|
|
|
|
| |
Previously, we had failed to test code with getrandom() against
LD_PRELOAD when FAKERANDOM_SEED was unset.
We also want to try calling getrandom twice in a single process to
make sure that works OK.
|
| |
|
|
In trying to test the experimental getrandom features, I found a few
minor problems. These changes should make it easier to test.
After building, the developer can now just do:
make -C test randomtest
This will do a basic verfication that the feature works as expected.
I haven't tried to integrate this with the overall "make test". To do
that right, it should condition the test on the definition of
FAKE_RANDOM.
|