Commit 0f41f011f8 for openssl.org
commit 0f41f011f8f1d95578ba7cec143b6dfdea251f28
Author: Andrew Dinh <andrewd@openssl.org>
Date: Wed Jun 24 23:20:24 2026 +0700
Port script_7
Assisted-by: Claude:claude-sonnet-4-6
Reviewed-by: Saša NedvÄ›dický <sashan@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Tue Jun 30 07:54:48 2026
(Merged from https://github.com/openssl/openssl/pull/31707)
diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c
index 0459c8f194..5bb15f9213 100644
--- a/test/quic_multistream_test.c
+++ b/test/quic_multistream_test.c
@@ -2051,16 +2051,7 @@ static const struct script_op script_6[] = {
/* 7. Unidirectional default stream mode test (client sends first) */
static const struct script_op script_7[] = {
- OP_C_SET_ALPN("ossltest"),
- OP_C_CONNECT_WAIT(),
-
- OP_C_SET_DEFAULT_STREAM_MODE(SSL_DEFAULT_STREAM_MODE_AUTO_UNI),
- OP_C_WRITE(DEFAULT, "apple", 5),
-
- OP_S_BIND_STREAM_ID(a, C_UNI_ID(0)),
- OP_S_READ_EXPECT(a, "apple", 5),
- OP_S_WRITE_FAIL(a),
-
+ /* test moved to test/radix/quic_tests.c */
OP_END
};
diff --git a/test/radix/quic_tests.c b/test/radix/quic_tests.c
index 3fd6bcb741..dd46002a02 100644
--- a/test/radix/quic_tests.c
+++ b/test/radix/quic_tests.c
@@ -859,8 +859,16 @@ DEF_SCRIPT(script_6, "Test STOP_SENDING functionality")
OP_FUNC(check_stream_stopped_6);
}
-DEF_SCRIPT(script_7, "place holder for multistrem script_7")
+/* 7. Unidirectional default stream mode test (client sends first) */
+DEF_SCRIPT(script_7, "Unidirectional default stream mode (client sends first)")
{
+ OP_SIMPLE_PAIR_CONN();
+ OP_SET_DEFAULT_STREAM_MODE(C, SSL_DEFAULT_STREAM_MODE_AUTO_UNI);
+ OP_WRITE(C, "apple", 5);
+
+ OP_ACCEPT_CONN_WAIT(L, S, 0);
+ OP_READ_EXPECT(S, "apple", 5);
+ OP_WRITE_FAIL(S);
}
DEF_SCRIPT(script_8, "place holder for multistrem script_8")