2023-09-06 19:00:19 +08:00
|
|
|
#! /usr/bin/env perl
|
2024-03-20 20:07:54 +08:00
|
|
|
# Copyright 2023-2024 The OpenSSL Project Authors. All Rights Reserved.
|
2023-09-06 19:00:19 +08:00
|
|
|
#
|
|
|
|
# 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"])));
|