summaryrefslogtreecommitdiffstats
path: root/test/recipes/70-test_quic_qlog.t
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-29 13:58:40 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:50:30 +0000
commit24132503b3921ad6844bd64a9303f658f583f30c (patch)
tree6c604b0a860c1ebd20d37df62068a03a33a9c727 /test/recipes/70-test_quic_qlog.t
parent6cb0026c634139b0e0aecb57691330b3bd7a475b (diff)
QUIC QLOG: Add unit test
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22037)
Diffstat (limited to 'test/recipes/70-test_quic_qlog.t')
-rw-r--r--test/recipes/70-test_quic_qlog.t19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/recipes/70-test_quic_qlog.t b/test/recipes/70-test_quic_qlog.t
new file mode 100644
index 0000000000..0537a5a9d6
--- /dev/null
+++ b/test/recipes/70-test_quic_qlog.t
@@ -0,0 +1,19 @@
+#! /usr/bin/env perl
+# Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the Apache License 2.0 (the "License"). You may not use
+# this file except in compliance with the License. You can obtain a copy
+# in the file LICENSE in the source distribution or at
+# https://www.openssl.org/source/license.html
+
+use OpenSSL::Test;
+use OpenSSL::Test::Utils;
+
+setup("test_quic_qlog");
+
+plan skip_all => "qlog is not supported by this OpenSSL build"
+ if disabled('qlog');
+
+plan tests => 1;
+
+ok(run(test(["quic_qlog_test"])));