Skip to content
Snippets Groups Projects
Commit 22c8c779 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Testsuite: Moved the async TLS close tests.

The async TLS close tests are now run from the main SSL testsuite,
to avoid missing them when running restricted tests.

FIXME: Consider moving the async_tls_close_test.pike script
somewhere else (Tools.Standalone?).
parent 248b83c7
No related branches found
No related tags found
No related merge requests found
......@@ -230,6 +230,18 @@ test_do([[
add_constant("parse_fields");
]])
define(run_sub_test, [[
test_tests([[
array a() {return Tools.Testsuite.run_script ($1);}
]])
]])
dnl Displaced tests for SSL.sslfile.
run_sub_test(({"SRCDIR../../../src/modules/_Stdio/async_tls_close_test.pike", "0", "0"}))
run_sub_test(({"SRCDIR../../../src/modules/_Stdio/async_tls_close_test.pike", "0", "1"}))
run_sub_test(({"SRCDIR../../../src/modules/_Stdio/async_tls_close_test.pike", "1", "0"}))
run_sub_test(({"SRCDIR../../../src/modules/_Stdio/async_tls_close_test.pike", "1", "1"}))
test_do([[
#define ASSERT(X) if(!(X)) error("Assertion failed.\n")
......
......@@ -379,10 +379,4 @@ cond_begin([[ Pike["PollDeviceBackend"] && Pike["PollDeviceBackend"]["HAVE_KQUEU
cond_end
dnl Displaced tests for SSL.sslfile.
run_sub_test(({"SRCDIR/async_tls_close_test.pike", "0", "0"}))
run_sub_test(({"SRCDIR/async_tls_close_test.pike", "0", "1"}))
run_sub_test(({"SRCDIR/async_tls_close_test.pike", "1", "0"}))
run_sub_test(({"SRCDIR/async_tls_close_test.pike", "1", "1"}))
END_MARKER
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment