Commit 783baebb17 for openssl.org
commit 783baebb177ec39bfdfa101f38995a0916468aec
Author: Andrew Dinh <andrewd@openssl.org>
Date: Wed Jun 24 23:20:54 2026 +0700
Port script_8
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:50 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 5bb15f9213..2e7def766e 100644
--- a/test/quic_multistream_test.c
+++ b/test/quic_multistream_test.c
@@ -2057,15 +2057,7 @@ static const struct script_op script_7[] = {
/* 8. Unidirectional default stream mode test (server sends first) */
static const struct script_op script_8[] = {
- OP_C_SET_ALPN("ossltest"),
- OP_C_CONNECT_WAIT(),
-
- OP_C_SET_DEFAULT_STREAM_MODE(SSL_DEFAULT_STREAM_MODE_AUTO_UNI),
- OP_S_NEW_STREAM_UNI(a, S_UNI_ID(0)),
- OP_S_WRITE(a, "apple", 5),
- OP_C_READ_EXPECT(DEFAULT, "apple", 5),
- OP_C_WRITE_FAIL(DEFAULT),
-
+ /* 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 dd46002a02..f18a52622b 100644
--- a/test/radix/quic_tests.c
+++ b/test/radix/quic_tests.c
@@ -871,8 +871,18 @@ DEF_SCRIPT(script_7, "Unidirectional default stream mode (client sends first)")
OP_WRITE_FAIL(S);
}
-DEF_SCRIPT(script_8, "place holder for multistrem script_8")
+/* 8. Unidirectional default stream mode test (server sends first) */
+DEF_SCRIPT(script_8, "Unidirectional default stream mode (server sends first)")
{
+ OP_SIMPLE_PAIR_CONN();
+ OP_SET_DEFAULT_STREAM_MODE(C, SSL_DEFAULT_STREAM_MODE_AUTO_UNI);
+
+ OP_ACCEPT_CONN_WAIT(L, S, 0);
+ OP_NEW_STREAM(S, Sa, SSL_STREAM_FLAG_UNI);
+ OP_WRITE(Sa, "apple", 5);
+
+ OP_READ_EXPECT(C, "apple", 5);
+ OP_WRITE_FAIL(C);
}
DEF_SCRIPT(script_9, "place holder for multistrem script_9")