/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 …]
|
/freebsd/contrib/pam-krb5/tests/module/ |
H A D | password-t.c | 2 * Authentication tests for the pam-krb5 module with ticket cache. 4 * This test case includes all tests that require Kerberos to be configured, a 11 * Copyright 2011-2012, 2014 14 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 17 #include <config.h> 36 check_authtok(pam_handle_t *pamh, const struct script_config *config, in check_authtok() argument 44 is_string(config->newpass, authtok, "...and it is correct"); in check_authtok() 51 struct script_config config; in main() local 57 memset(&config, 0, sizeof(config)); in main() 58 config.user = krbconf->username; in main() [all …]
|
H A D | alt-auth-t.c | 2 * Tests for the alt_auth_map functionality in libpam-krb5. 4 * This test case tests the variations of the alt_auth_map functionality for 14 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 17 #include <config.h> 29 struct script_config config; in main() local 36 * want to test that alt_auth_map works when there's no relationship in main() 40 memset(&config, 0, sizeof(config)); in main() 41 config.user = "bogus-nonexistent-account"; in main() 42 config.authtok = krbconf->password; in main() 43 config.extra[0] = krbconf->username; in main() [all …]
|
H A D | long-t.c | 2 * Excessively long password tests for the pam-krb5 module. 4 * This test case includes all tests for excessively long passwords that can 10 * SPDX-License-Identifier: BSD-3-clause or GPL-1+ 13 #include <config.h> 23 struct script_config config; in main() local 28 memset(&config, 0, sizeof(config)); in main() 29 config.user = "test"; in main() 31 /* Test a password that is too long. */ in main() 34 config.password = password; in main() 35 run_script("data/scripts/long/password", &config); in main() [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/crypto/krb5/src/ |
H A D | configure | 2 # Guess values for system-dependent variables and create Makefiles. 5 # Report bugs to <krb5-bugs@mit.edu>. 12 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 18 ## -------------------- ## 20 ## -------------------- ## 25 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 29 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 31 alias -g '${1+"$@"}'='"$@"' 34 case `(set -o) 2>/dev/null` in #( 36 set -o posix ;; #( [all …]
|
/freebsd/contrib/pam-krb5/tests/pam-util/ |
H A D | options-t.c | 2 * PAM option parsing test suite. 4 * The canonical version of this file is maintained in the rra-c-util package, 5 * which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>. 9 * Copyright 2010-2014 30 * SPDX-License-Identifier: MIT 33 #include <config.h> 39 #include <pam-util/args.h> 40 #include <pam-util/options.h> 41 #include <pam-util/vector.h> 64 /* clang-format off */ [all …]
|
/freebsd/contrib/pam-krb5/m4/ |
H A D | krb5-config.m4 | 1 dnl Use krb5-config to get link paths for Kerberos libraries. 4 dnl linker flags for a library via krb5-config and sets the appropriate shell 6 dnl used to find the default path to krb5-config. 10 dnl The canonical version of this file is maintained in the rra-c-util 11 dnl package, available at <https://www.eyrie.org/~eagle/software/rra-c-util/>. 15 dnl Copyright 2011-2012 22 dnl SPDX-License-Identifier: FSFULLR 24 dnl Check for krb5-config in the user's path and set PATH_KRB5_CONFIG. This 26 dnl meaning it will only be run once even if we link with multiple krb5-config 29 [AC_ARG_VAR([PATH_KRB5_CONFIG], [Path to krb5-config]) [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/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/pam-krb5/ci/ |
H A D | kdc-setup-mit | 3 # Build a Kerberos test realm for MIT Kerberos 5 # This script automates the process of setting up a Kerberos test realm from 6 # scratch suitable for testing pam-krb5. It is primarily intended to be run 7 # from inside CI in a VM or container from the top of the pam-krb5 source 13 # SPDX-License-Identifier: MIT 15 set -eux 18 apt-get install krb5-admin-server krb5-kdc krb5-pkinit openssl 27 # Add domain-realm mappings for the local host, since otherwise Heimdal and 30 # the test to hang. 33 $(hostname -f) = MIT.TEST [all …]
|
H A D | kdc-setup-heimdal | 3 # Build a Kerberos test realm for Heimdal. 5 # This script automates the process of setting up a Kerberos test realm from 6 # scratch suitable for testing pam-krb5. It is primarily intended to be run 7 # from inside CI in a VM or container from the top of the pam-krb5 source 13 # SPDX-License-Identifier: MIT 15 set -eux 18 apt-get install heimdal-kdc 21 cp ci/files/heimdal/heimdal-kdc /etc/default/heimdal-kdc 22 cp ci/files/heimdal/kadmind.acl /etc/heimdal-kdc/kadmind.acl 23 cp ci/files/heimdal/kdc.conf /etc/heimdal-kdc/kdc.conf [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-2025 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/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/openpam/ |
H A D | Makefile.in | 4 # Copyright (C) 1994-2024 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/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/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/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/sys/contrib/openzfs/tests/test-runner/bin/ |
H A D | test-runner.py.in | 2 # SPDX-License-Identifier: CDDL-1.0 69 return t.tv_sec + t.tv_nsec * 1e-9 90 m, s = divmod(monotonic_time() - self.starttime, 60) 168 The timeout for tests is measured in wall-clock time 195 signal = '-TERM' 208 If this is not a user-initiated kill and the test has not been 209 reran before we consider if the test needs to be reran: 210 If the test has spent some time hibernating and didn't run the whole 211 length of time before being timed out we will rerun the test. 214 runtime = monotonic_time() - self.result.starttime [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 …]
|