aboutsummaryrefslogtreecommitdiffstats
path: root/test/recipes/75-test_json_enc.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/recipes/75-test_json_enc.t')
-rw-r--r--test/recipes/75-test_json_enc.t19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/recipes/75-test_json_enc.t b/test/recipes/75-test_json_enc.t
new file mode 100644
index 0000000000..d8d5a9633b
--- /dev/null
+++ b/test/recipes/75-test_json_enc.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_json");
+
+plan skip_all => "JSON encoder is not needed by this OpenSSL build (no QUIC)"
+ if disabled('qlog');
+
+plan tests => 1;
+
+ok(run(test(["json_test"])));