aboutsummaryrefslogtreecommitdiffstats
path: root/test/recipes
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-05-11 17:45:10 +1000
committerPauli <pauli@openssl.org>2021-05-12 18:20:03 +1000
commit5725ab808713abd79fc49d70a9f4ac79a83d3103 (patch)
treeddcc68d9927c9cf3c5e1b18ed1628d9fcbbd8949 /test/recipes
parent1f12bf71fecf77c3d0def0fd4211be1dc85a53a1 (diff)
downloadopenssl-5725ab808713abd79fc49d70a9f4ac79a83d3103.tar.gz
property: add test case for setting default user properties before fetching
Shamelessly culled from #15218. Co-authored-by: Dr Paul Dale <pauli@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15222)
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/03-test_property.t17
1 files changed, 13 insertions, 4 deletions
diff --git a/test/recipes/03-test_property.t b/test/recipes/03-test_property.t
index 2654215619..f11602873e 100644
--- a/test/recipes/03-test_property.t
+++ b/test/recipes/03-test_property.t
@@ -1,12 +1,21 @@
#! /usr/bin/env perl
-# Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
-# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2021 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::Simple;
+use strict;
+use warnings;
-simple_test("test_property", "property_test");
+use OpenSSL::Test;
+use OpenSSL::Test::Utils;
+
+setup('test_property');
+
+plan tests => 2;
+
+ok(run(test(["property_test"])), "running property_test");
+
+ok(run(test(["user_property_test"])), "running user_property_test");