/freebsd/crypto/openssl/test/recipes/ |
H A D | 25-test_req.t | 2 # Copyright 2015-2024 The OpenSSL Project Authors. All Rights Reserved. 13 use OpenSSL::Test::Utils; 14 use OpenSSL::Test qw/:DEFAULT srctop_file/; 20 require_ok(srctop_file('test', 'recipes', 'tconversion.pl')); 22 my @certs = qw(test certs); 27 @req_new = ("-newkey", "dsa:".srctop_file("apps", "dsa512.pem")); 29 @req_new = ("-new"); 38 # Check for duplicate -addext parameters, and one "working" case. 39 my @addext_args = ( "openssl", "req", "-new", "-ou [all...] |
H A D | 03-test_fipsinstall.t | 2 # Copyright 2019-2024 The OpenSSL Project Authors. All Rights Reserved. 15 use OpenSSL::Test qw/:DEFAULT srctop_dir srctop_file bldtop_dir bldtop_file/; 16 use OpenSSL::Test::Utils; 25 plan skip_all => "Test only supported in a fips build" if disabled("fips"); 29 my $infile = bldtop_file('providers', platform->dso('fips')); 30 my $fipskey = $ENV{FIPSKEY} // config('FIPSKEY') // '00'; 31 my $provconf = srctop_file("test", "fips-and-base.cnf"); 33 run(test(["fips_version_test", "-config", $provconf, "<3.4.0"]), 73 # Read in the text input file 'test/fips.cnf' 82 return replace_line_file_internal(srctop_file("test", 'fips.cnf'), [all …]
|
/freebsd/contrib/byacc/ |
H A D | CHANGES | 1 2024-01-09 Thomas E. Dickey <dickey@invisible-island.net> 10 package/mingw-byacc.spec, package/pkgsrc/Makefile: 13 2023-12-01 Thomas E. Dickey <dickey@invisible-island.net> 16 resync with my-autoconf: CF_CONST_X_STRING CF_MKSTEMP CF_WITH_MAN2HTML CF_XOPEN_SOURCE 18 2023-09-15 Thomas E. Dickey <dickey@invisible-island.net> 20 * config.sub: 2023-09-15 22 2023-08-22 Thomas E. Dickey <dickey@invisible-island.net> 24 * config.guess: 2023-08-22 26 2023-05-21 Thomas E. Dickey <dickey@invisible-island.net> 29 package/mingw-byacc.spec, package/pkgsrc/Makefile: [all …]
|
/freebsd/contrib/ntp/ |
H A D | build | 4 IAM=`hostname || uname -n` 13 KEY=`sed -e q < .buildkey-$MYNAME` 30 #set -e 31 #set -x 33 if [ ! -r sntp/libevent/build-aux/config.guess ] ; then 37 # sntp/scripts/cvo.sh invokes config.guess, and we want it to use the copy 38 # in the build-aux directory if there's not another config.guess earlier 41 CVO=`env PATH="$PATH:./sntp/libevent/build-aux" sntp/scripts/cvo.sh @cvo@` 43 *-*-*-*) echo "sntp/scripts/cvo.sh returned <$CVO>, which makes no sense to me." 46 *-*-*) ;; [all …]
|
H A D | Makefile.in | 4 # Copyright (C) 1994-2021 Free Software Foundation, Inc. 18 if test -z '$(MAKELEVEL)'; then \ 20 elif test -n '$(MAKE_HOST)'; then \ 22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 29 case $${target_option-} i [all...] |
/freebsd/contrib/openbsm/ |
H A D | Makefile.in | 4 # Copyright (C) 1994-2014 Free Software Foundation, Inc. 18 if test -z '$(MAKELEVEL)'; then \ 20 elif test -n '$(MAKE_HOST)'; then \ 22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 29 case $${target_option-} in \ 32 "target option '$${target_option-}' specified" >&2; \ 53 test $$skip_next = yes && { skip_next=no; continue; }; \ 55 *=*|--*) continue;; \ 56 -*I) strip_trailopt 'I'; skip_next=yes;; \ 57 -*I?*) strip_trailopt 'I';; \ [all …]
|
/freebsd/contrib/netbsd-tests/usr.bin/config/ |
H A D | t_config.sh | 44 mkdir -p compile 46 if [ ! -d "${srcdir}/support" ]; then 48 if [ ! -d "${srcdir}/support" ]; then 57 if [ -n "$config_str" ]; then 58 config="d_${name}" 59 printf "$config_str" >"${config}" 61 config="${srcdir}/d_${name}" 71 atf_check -o ignore -s eq:0 \ 72 config -s "${supportdir}" -b "compile/${name}" "${config}" 83 atf_check -o ignore -e "${stderr}" -s eq:0 \ [all …]
|
/freebsd/contrib/kyua/model/ |
H A D | metadata.cpp | 36 #include "utils/config/exceptions.hpp" 37 #include "utils/config/nodes.ipp" 38 #include "utils/config/tree.ipp" 51 namespace config = utils::config; 67 static optional< config::tree > defaults; 71 class bytes_node : public config::native_leaf_node< units::bytes > { 75 /// \return A dynamically-allocated node. 80 new_node->_value = _value; in deep_copy() 101 class delta_node : public config::typed_leaf_node< datetime::delta > { 105 /// \return A dynamically-allocated node. [all …]
|
/freebsd/crypto/openssl/test/smime-certs/ |
H A D | mksmime-certs.sh | 2 # Copyright 2013-2022 The OpenSSL Project Authors. All Rights Reserved. 17 CN="Test S/MIME RSA Root" $OPENSSL req -config ca.cnf -x509 -noenc \ 18 -keyout smroot.pem -out smroot.pem -newkey rsa:2048 -days 36501 21 CN="Test S/MIME EE RSA #1" $OPENSSL req -config ca.cnf -noenc \ 22 -keyout smrsa1.pem -out req.pem -newkey rsa:2048 24 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \ 25 -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smrsa1.pem 27 CN="Test S/MIME EE RSA #2" $OPENSSL req -config ca.cnf -noenc \ 28 -keyout smrsa2.pem -out req.pem -newkey rsa:2048 29 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \ [all …]
|
/freebsd/crypto/openssl/demos/certs/ |
H A D | mkcerts.sh | 8 CN="Test Root CA" $OPENSSL req -config ca.cnf -x509 -nodes \ 9 -keyout root.pem -out root.pem -newkey rsa:2048 -days 3650 11 CN="Test Intermediate CA" $OPENSSL req -config ca.cnf -nodes \ 12 -keyout intkey.pem -out intreq.pem -newkey rsa:2048 14 $OPENSSL x509 -req -in intreq.pem -CA root.pem -days 3600 \ 15 -extfile ca.cnf -extensions v3_ca -CAcreateserial -out intca.pem 18 CN="Test Server Cert" $OPENSSL req -config ca.cnf -nodes \ 19 -keyout skey.pem -out req.pem -newkey rsa:1024 21 $OPENSSL x509 -req -in req.pem -CA intca.pem -CAkey intkey.pem -days 3600 \ 22 -extfile ca.cnf -extensions usr_cert -CAcreateserial -out server.pem [all …]
|
/freebsd/contrib/expat/ |
H A D | Makefile.in | 4 # Copyright (C) 1994-2021 Free Software Foundation, Inc. 25 # Copyright (c) 2017-2023 Sebastian Pipping <sebastian@pipping.org> 30 # Copyright (c) 2024 Dag-Erling Smørgrav <des@des.dev> 54 if test -z '$(MAKELEVEL)'; then \ 56 elif test -n '$(MAKE_HOST)'; then \ 58 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 65 case $${target_option-} in \ 68 "target option '$${target_option-}' specified" >&2; \ 89 test $$skip_next = yes && { skip_next=no; continue; }; \ 91 *=*|--*) continue;; \ [all …]
|
/freebsd/contrib/openpam/ |
H A D | Makefile.in | 4 # Copyright (C) 1994-2021 Free Software Foundation, Inc. 18 if test -z '$(MAKELEVEL)'; then \ 20 elif test -n '$(MAKE_HOST)'; then \ 22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 29 case $${target_option-} in \ 32 "target option '$${target_option-}' specified" >&2; \ 53 test $$skip_next = yes && { skip_next=no; continue; }; \ 55 *=*|--*) continue;; \ 56 -*I) strip_trailopt 'I'; skip_next=yes;; \ 57 -*I?*) strip_trailopt 'I';; \ [all …]
|
/freebsd/contrib/file/ |
H A D | Makefile.in | 4 # Copyright (C) 1994-2021 Free Software Foundation, Inc. 19 if test -z '$(MAKELEVEL)'; then \ 21 elif test -n '$(MAKE_HOST)'; then \ 23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 30 case $${target_option-} in \ 33 "target option '$${target_option-}' specified" >&2; \ 54 test $$skip_next = yes && { skip_next=no; continue; }; \ 56 *=*|--*) continue;; \ 57 -*I) strip_trailopt 'I'; skip_next=yes;; \ 58 -*I?*) strip_trailopt 'I';; \ [all …]
|
/freebsd/contrib/arm-optimized-routines/ |
H A D | README | 2 ---------------------- 9 contributor-agreement.pdf. This is needed so upstreaming code 19 build/ - build directory (created by make). 20 math/ - math subproject sources for generic scalar 27 math/aarch64/ - math subproject AArch64-specific sources 29 math/aarch64/advsimd - AdvSIMD-specific math sources. 30 math/aarch64/experimental - Experimental math sources do not 33 math/aarch64/sve - SVE-specific math sources. 34 math/include/ - math library public headers. 35 math/test/ - math test and benchmark related sources. [all …]
|
/freebsd/contrib/libfido2/windows/ |
H A D | build.ps1 | 1 # Copyright (c) 2021-2022 Yubico AB. All rights reserved. 2 # Use of this source code is governed by a BSD-style 4 # SPDX-License-Identifier: BSD-2-Clause 9 [string]$SevenZPath = "C:\Program Files\7-Zip\7z.exe", 12 [string]$Config = "Release", variable 24 if ($LastExitCode -ne 0) { in ExitOnError() 30 Write-Hos in GitClone() 85 Write-Host "Config: $Config" global() variable [all...] |
/freebsd/tests/ |
H A D | conftest.py | 10 def set_handler(config): argument 12 DEFAULT_HANDLER = ATFHandler(report_file_name=config.option.atf_file) 23 # Add meta-values 26 "--atf-source-dir", 29 help="Path to the test source directory", 32 "--atf-cleanup", 36 help="Call cleanup procedure for a given test", 40 "--atf", 43 help="Enable test listing/results output in atf format", 46 "--atf-file", [all …]
|
/freebsd/contrib/kyua/engine/ |
H A D | scheduler.hpp | 30 /// Multiprogrammed executor of test related operations. 32 /// The scheduler's public interface exposes test cases as "black boxes". The 34 /// happens in two cases: first, once a test case completes; and, second, in the 45 /// complexity will bite us in the future (today is 2015-06-26). Switching to a 46 /// threads-based implementation would probably simplify the code flow 47 /// significantly and allow parallelization of the test case listings in a 49 /// signals and on whether we could use C++11's std::thread. (Is this a to-do? 69 #include "utils/config/tree_fwd.hpp" 81 /// Abstract interface of a test program scheduler interface. 83 /// This interface defines the test program-specific operations that need to be [all …]
|
H A D | atf_test.cpp | 37 #include <atf-c++.hpp> 39 #include "engine/config.hpp" 45 #include "utils/config/tree.ipp" 56 namespace config = utils::config; 67 /// Lists the test cases associated with an ATF test program. 69 /// \param program_name Basename of the test program to run. 70 /// \param root Path to the base of the test suite. 71 /// \param names_filter Whitespace-separated list of test cases that the helper 72 /// test program is allowed to expose. 73 /// \param user_config User-provided configuration. [all …]
|
H A D | config_test.cpp | 29 #include "engine/config.hpp" 32 # include "config.h" 38 #include <atf-c++.hpp> 43 #include "utils/config/tree.ipp" 46 namespace config = utils::config; 68 /// Checks that the default values of a config object match our expectations. 70 /// This fails the test case if any field of the input config object is not 73 /// \param config The configuration to validate. 75 validate_defaults(const config::tree& config) in validate_defaults() argument 79 config.lookup< config::string_node >("architecture")); in validate_defaults() [all …]
|
H A D | atf.cpp | 57 namespace config = utils::config; 68 /// Basename of the file containing the result written by the ATF test case. 83 /// Executes a test program's list operation. 86 /// to terminate execution either by exec(2)ing the test program or by 89 /// \param test_program The test program to execute. 90 /// \param vars User-provided variables to pass to the test program. 93 const config::properties_map& vars) const in exec_list() 95 utils::setenv("__RUNNING_INSIDE_ATF_RUN", "internal-yes-value"); in exec_list() 98 for (config::properties_map::const_iterator iter = vars.begin(); in exec_list() 100 args.push_back(F("-v%s=%s") % (*iter).first % (*iter).second); in exec_list() [all …]
|
H A D | scheduler_test.cpp | 43 #include <atf-c++.hpp> 45 #include "engine/config.hpp" 52 #include "utils/config/tree.ipp" 70 namespace config = utils::config; 129 /// wasn't because doing so deletes on-disk files and we want to leave them 130 /// in place so that the parent process can test for them! 141 /// Executes a test case that creates various files and then fails. 147 atf::utils::create_file("second-file", ""); in exec_create_files_and_fail() 153 /// Executes a test case that deletes all files in the current directory. 155 /// This is intended to validate that the test runs in an empty directory, [all …]
|
/freebsd/contrib/atf/atf-c++/ |
H A D | macros_test.cpp | 26 #include "atf-c++/macros.hpp" 38 #include <atf-c++.hpp> 40 #include "atf-c++/detail/fs.hpp" 41 #include "atf-c++/detail/process.hpp" 42 #include "atf-c++/detail/sanity.hpp" 43 #include "atf-c++/detail/test_helpers.hpp" 44 #include "atf-c++/detail/text.hpp" 45 #include "atf-c++/utils.hpp" 47 // ------------------------------------------------------------------------ 49 // ------------------------------------------------------------------------ [all …]
|
/freebsd/sys/contrib/openzfs/config/ |
H A D | pkg.m4 | 1 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 2 # serial 12 (pkg-config-0.29.2) 5 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> 19 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 20 dnl 02111-1307, USA. 28 dnl PKG_PREREQ(MIN-VERSION) 29 dnl ----------------------- 32 dnl Verify that the version of the pkg-config macros are at least 33 dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's 34 dnl installed version of pkg-config, this checks the developer's version [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | servcfginclude.sh | 3 tid="server config include" 6 HostKey $OBJ/host.ssh-ed25519 87 test -z "$_desc" && _desc="test match" 89 ${SUDO} ${REAL_SSHD} -f $OBJ/sshd_config.i -T \ 90 -C "host=$_host,user=test,addr=127.0.0.1" > $OBJ/sshd_config.out || 91 fatal "ssh config parse failed: $_desc host=$_host expect=$_exp" 92 _got=`grep -i '^banner ' $OBJ/sshd_config.out | awk '{print $2}'` 93 if test "x$_exp" != "x$_got" ; then 108 # Prepare an included config with an error. 115 trace "disallow invalid config host=a" [all …]
|
/freebsd/crypto/openssl/demos/certs/apps/ |
H A D | mkxcerts.sh | 2 # Create certificates using various algorithms to test multi-certificate 6 CN="OpenSSL Test RSA SHA-1 cert" $OPENSSL req \ 7 -config apps.cnf -extensions usr_cert -x509 -nodes \ 8 -keyout tsha1.pem -out tsha1.pem -new -days 3650 -sha1 9 CN="OpenSSL Test RSA SHA-256 cert" $OPENSSL req \ 10 -config apps.cnf -extensions usr_cert -x509 -nodes \ 11 -keyout tsha256.pem -out tsha256.pem -new -days 3650 -sha256 12 CN="OpenSSL Test RSA SHA-512 cert" $OPENSSL req \ 13 -config apps.cnf -extensions usr_cert -x509 -nodes \ 14 -keyout tsha512.pem -out tsha512.pem -new -days 3650 -sha512 [all …]
|