5b1674e0ba
This test appeared to be passing for the wrong reason, it's actually not appropriate for the current implementation. The serialised data contains values of pointers to heap-allocated buffers. There is no reason these should be identical after a load-save pair. They just happened to be identical when I first ran the test due to the place of session_free() in the test code and the fact that the libc's malloc() reused the same buffers. The test no longer passes if other malloc() implementations are used (for example, when compiling with asan which avoids re-using the buffer, probably for better error detection). So, disable this test for now (we can re-enable it when we changed how sessions are serialised, which will be done in a future PR, hence the name of the dummy macro in depends_on). In the next commit we're going to add a test that save-load is the identity instead - which will be more work in testing as it will require checking each field manually, but at least is reliable. |
||
---|---|---|
.. | ||
.jenkins | ||
data_files | ||
docker/bionic | ||
git-scripts | ||
scripts | ||
suites | ||
.gitignore | ||
CMakeLists.txt | ||
compat-in-docker.sh | ||
compat.sh | ||
Descriptions.txt | ||
make-in-docker.sh | ||
Makefile | ||
ssl-opt-in-docker.sh | ||
ssl-opt.sh |