/freebsd/contrib/kyua/bootstrap/ |
H A D | testsuite.at | 36 # test suite may be run outside of the source tree (think distcheck). 37 while test $(pwd) != '/' -a ! -e bootstrap/plain_helpers; do 52 ln -s $(GUESS_TOPDIR)/bootstrap/atf_helpers atf_helpers 55 [HOME=$(pwd) TESTS="$1" kyua --config=none \ 56 test --results-file=bootstrap.db $2]) 65 ln -s $(GUESS_TOPDIR)/bootstrap/plain_helpers plain_helpers 68 [HOME=$(pwd) HELPER="$1" kyua --config=none \ 69 test --results-file=bootstrap.db]) 77 re='plain_helpers:__test_cases_list__.*broken.*Test program received signal' 78 AT_CHECK([grep "${re}" stdout], [0], [ignore], []) [all …]
|
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
H A D | generate-ci-type.py | 7 - the *last* commit message contains 'ZFS-CI-Type: quick' 9 - the files changed are not in the list of specified directories, and 10 - all commit messages do not contain 'ZFS-CI-Type: full' 17 import re 23 FULL_RUN_IGNORE_REGEX = list(map(re.compile, [ 31 FULL_RUN_REGEX = list(map(re.compile, [ 39 r'copy-builtin', 61 print(f'{prog}: will run {type} CI: {reason}', file=sys.stderr) 66 last_commit_message_raw = subprocess.run([ 67 'git', 'show', '-s', '--format=%B', 'HEAD' [all …]
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest_json_test_utils.py | 32 import re 43 change from run to run. 48 return re.sub(r'^\d+(\.\d+)?s$', '*', value) 50 return re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$', '*', value) 52 value = re.sub(r'^.*[/\\](.*:)\d+\n', '\\1*\n', value) 53 return re.sub(r'Stack trace:\n(.|\n)*', 'Stack trace:\n*', value) 55 value = re.sub(r'^.*[/\\](.*:)\d+\n', '\\1*\n', value) 56 return re.sub(r'Stack trace:\n(.|\n)*', 'Stack trace:\n*', value) 58 return re.sub(r'^.*[/\\](.*)', '\\1', value)
|
H A D | gtest_xml_test_utils.py | 32 import re 54 convertible to a floating-point number and any attribute named 55 "type_param" which only has to be non-empty. 139 CDATA sections and non-whitespace text nodes are concatenated into a single 160 child_id = child.parentNode.getAttribute('name') + '-properties' 187 """Normalizes XML that may change from run to run. 190 information that may change from run to run. 198 single asterisk (if it sn non-empty) as it is the type name returned 213 source_file.value = re.sub(r'^.*[/\\](.*)', '\\1', source_file.value) 216 timestamp.value = re.sub( [all …]
|
H A D | googletest-filter-unittest.py | 33 A user can specify which test(s) in a Google Test program to run via either 34 the GTEST_FILTER environment variable or the --gtest_filter flag. 36 googletest-filter-unittest_ (a program written with Google Test) with different 44 import re 64 [sys.executable, '-c', "import os; print('EMPTY_VAR' in os.environ)"] 70 # We set an env variable to a non-empty string, unset it, and invoke 80 [sys.executable, '-c', "import os; print('UNSET_VAR' not in os.environ)"] 88 # the difference between "" and NULL -- Borland and Solaris < 5.10) 106 # Command to run the googletest-filter-unittest_ program. 107 COMMAND = gtest_test_utils.GetTestExecutablePath('googletest-filter-unittest_') [all …]
|
H A D | googletest-list-tests-unittest.py | 32 """Unit test for Google Test's --gtest_list_tests flag. 35 --gtest_list_tests flag. This script tests such functionality 36 by invoking googletest-list-tests-unittest_ (a program written with 40 import re 48 # Path to the googletest-list-tests-unittest_ program. 50 'googletest-list-tests-unittest_' 53 # The expected output when running googletest-list-tests-unittest_ with 54 # --gtest_list_tests 55 EXPECTED_OUTPUT_NO_FILTER_RE = re.compile( 99 # The expected output when running googletest-list-tests-unittest_ with [all …]
|
H A D | googletest-json-output-unittest.py | 37 import re 43 GTEST_FILTER_FLAG = '--gtest_filter' 44 GTEST_LIST_TESTS_FLAG = '--gtest_list_tests' 45 GTEST_OUTPUT_FLAG = '--gtest_output' 50 NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support' 81 'status': 'RUN', 100 'status': 'RUN', 148 'status': 'RUN', 161 'status': 'RUN', 177 'status': 'RUN', [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.recache | 1 echo T.recache: test re cache in b.c 4 awk=${awk-../a.out} 10 # Fill up DFA cache with run-time REs that have all been 20 # Now evalutate an expression that uses two run-time REs 21 # that have never been used before. The second RE will 22 # push the first out of the cache while the first RE is
|
/freebsd/tools/tools/shlib-compat/ |
H A D | shlib-compat.py | 2 #- 31 import re 57 if outname and outname != '-': 91 self.re_exclude = [ re.compile(x) for x in self.exclude ] 92 self.re_include = [ re.compile(x) for x in self.include ] 159 self.added = self.new - self.common 160 self.removed = self.orig - self.common 170 def run(self, obj): member in PrettyPrinter 341 t = pp.run(self.type) 394 t = pp.run(self.type) [all …]
|
/freebsd/usr.sbin/rtsold/ |
H A D | rtsold.8 | 41 .Op Fl M Ar script-name 42 .Op Fl O Ar script-name 43 .Op Fl A Ar script-name 45 .Op Fl R Ar script-name 49 .Op Fl M Ar script-name 50 .Op Fl O Ar script-name 51 .Op Fl A Ar script-name 53 .Op Fl R Ar script-name 57 .Op Fl M Ar script-name 58 .Op Fl O Ar script-name [all …]
|
/freebsd/contrib/libxo/doc/ |
H A D | getting.rst | 18 We're using `Semantic Versioning`_ to number our releases. libxo is 22 the "*master*" branch. To clone a developer tree, run the following 25 git clone https://github.com/Juniper/libxo.git -b develop 29 http://nvie.com/posts/a-successful-git-branching-model 35 ----------------------------- 42 green "Latest release" button and the green "libxo-RELEASE.tar.gz" 49 tar -zxf libxo-RELEASE.tar.gz 50 cd libxo-RELEASE 54 Note: for Solaris users, your "`tar`" command lacks the "-z" flag, 55 so you'll need to substitute "`gzip -dc $file | tar xf -`" instead [all …]
|
/freebsd/share/examples/ppp/ |
H A D | ppp.conf.sample | 23 # This section is *not* pre-loaded by the ``load'' or ``dial'' commands. 34 OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" 41 # is required by the server either using a unix-style login procedure 46 # use a unix-style login script: 61 # This entry also works with static IP numbers or when not in -auto mode. 64 # The "set ifaddr" is required in -auto mode only. 65 # It's better to put the ``add'' line in ppp.linkup when not in -auto mode. 72 # The login script shown says that you're expecting ``ogin:''. If you 80 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp" 86 # If you want to use PAP or CHAP instead of using a unix-style login [all …]
|
H A D | ppp.linkup.sample | 18 # It is no longer necessary to re-add the default route here as our 20 # If you're into sound effects when the link comes up, you can run 33 # nice things such as kick off "sendmail -q", "popclient my.isp" and 34 # "slurp -d news". It can be passed MYADDR, HISADDR and INTERFACE 35 # as arguments too - useful for informing a DNS of your assigned IP. 38 # you're running will take some time or will require network 40 # of the program being run! 46 ! sh -c "cat /etc/ppp/linkup.au >/dev/audio" 53 !bg sh -c "sleep 240; pppctl -p mypassword 3000 set timeout 60"
|
/freebsd/contrib/libpcap/pcap/ |
H A D | funcattrs.h | 1 /* -*- Mode: c; tab-width: 8; indent-tabs-mode: 1; c-basic-offset: 8; -*- */ 38 #include <pcap/compiler-tests.h> 42 * compiler-specific extensions. 61 * if we're building it as a DLL, we have to declare API 64 * if we're building it as a static library, we don't want 69 * if we're using the DLL, calls to its functions are a 70 * little more efficient if they're declared with 73 * if we're not using the dll, we don't want to declare 88 * We're compiling libpcap as a DLL, so we should export functions 94 * We're using libpcap as a DLL, so the calls will be a little more [all …]
|
/freebsd/contrib/mandoc/ |
H A D | INSTALL | 4 -------------------------------------- 25 ------------ 37 run the command "echo BUILD_CGI=1 >> configure.local". 38 Then run "cp cgi.h.example cgi.h" and edit cgi.h as desired. 40 2. If you also want to build the catman(8) utility, run the 42 is unlikely to be a drop-in replacement providing the same 50 4. Run "./configure". 55 a file "configure.local", and re-run "./configure" until the 58 5. Run "make". 59 Any POSIX-compatible make, in particular both BSD make and GNU make, [all …]
|
/freebsd/contrib/expat/ |
H A D | Makefile.am | 9 # Copyright (c) 2017-2023 Sebastian Pipping <sebastian@pipping.org> 14 # Copyright (c) 2024 Dag-Erling Smørgrav <des@des.dev> 37 dist-bzip2 \ 38 dist-lzip \ 39 dist-xz \ 41 subdir-objects 43 ACLOCAL_AMFLAGS = -I m4 44 LIBTOOLFLAGS = --verbose 65 cmake/autotools/expat-config-version.cmake \ 66 cmake/autotools/expat-noconfig.cmake \ [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntpd-opts.def | 1 /* -*- Mode: Text -*- */ 7 prog-name = "ntpd"; 8 prog-title = "set clock via Network Time Protocol daemon"; 11 #include ntpdbase-opts.def 14 explain = <<- _END_EXPLAIN 17 doc-section = { 18 ds-type = 'DESCRIPTION'; 19 ds-format = 'mdoc'; 20 ds-text = <<- _END_PROG_MDOC_DESCRIP 27 Network Time Protocol (NTP) version 4, as defined by RFC-5905, [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_origin.ksh | 49 $POOL2/rBC $POOL2/rE 53 log_must eval "zfs send --redact BCD $dsA >$stream" 58 log_must eval "zfs send --redact BC $dsA >$stream" 62 log_must eval "zfs send --redact E $dsA >$stream" 63 log_must eval "zfs receive $POOL2/rE <$stream" 66 log_must eval "zfs receive -o origin=$POOL2/rBCD@snap0 $POOL2/BCDrF <$stream" 67 log_must eval "zfs receive -o origin=$POOL2/rBC@snap0 $POOL2/BCrF <$stream" 68 log_must eval "zfs receive -o origin=$POOL2/rE@snap0 $POOL2/ErF <$stream" 70 # Run tests from redacted datasets. 71 log_must eval "zfs send -i $POOL2/rBCD@snap0 $POOL2/BCDrF@snap >$stream" [all …]
|
/freebsd/contrib/libpcap/rpcapd/ |
H A D | rpcapd.c | 2 * Copyright (c) 2002 - 2003 36 #include "diag-control.h" 52 #include "rpcap-protocol.h" 62 #include "win32-svc.h" // for Win32 service stuff 63 #include "getopt.h" // for getopt()-for-Windows 71 // Element in list of sockets on which we're listening for connections. 84 static int passivemode = 1; //!< '1' if we want to run in passive mode as well 92 static volatile sig_atomic_t reread_config; //!< '1' if the server is to re-read its configuration 124 " " PROGRAM_NAME " [-b <address>] [-p <port>] [-4] [-l <host_list>] [-a <host,port>]\n" in printusage() 125 " [-n] [-v] [-d] " in printusage() [all …]
|
H A D | win32-svc.c | 2 * Copyright (c) 2002 - 2003 41 #include "win32-svc.h" // for Win32 service stuff 78 // XXX - is this sufficient to clean up the service? in svc_control_handler() 98 to change the running parameters at run-time. In other words, they act in svc_control_handler() 99 like the SIGHUP signal on UNIX. All the running threads continue to run and in svc_control_handler() 102 - PAUSE does nothing in svc_control_handler() 103 - CONTINUE re-reads the configuration file and creates the new threads that in svc_control_handler() 113 // Tell the main loop to re-read the configuration. in svc_control_handler() 127 // Tell the main loop to re-read the configuration. in svc_control_handler() 151 // Service requests until we're told to stop. in svc_main() [all …]
|
/freebsd/contrib/libpcap/doc/ |
H A D | README.windows.md | 15 --------------------- 34 C:\npcap-sdk, and put the contents of the ZIP archive into that folder. 45 -------------------- 61 It is a command-line tool; a GUI tool, Chocolatey GUI, is provided as a 66 For convenience, the "choco install" command can be run with the "-y" 70 choco install -y chocolateygui 79 It does provide files for CMake, which is a cross-platform tool that 89 When you run the installer, you should choose to add CMake to the system 94 choco install -y cmake 98 include built-in support for CMake-based projects: [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | StopInfo.cpp | 1 //===-- StopInfo.cpp ------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 35 m_stop_id(thread.GetProcess()->GetStopID()), in StopInfo() 36 m_resume_id(thread.GetProcess()->GetResumeID()), m_value(value), in StopInfo() 43 return thread_sp->GetProcess()->GetStopID() == m_stop_id; in IsValid() 50 m_stop_id = thread_sp->GetProcess()->GetStopID(); in MakeStopInfoValid() 51 m_resume_id = thread_sp->GetProcess()->GetResumeID(); in MakeStopInfoValid() 59 lldb::StateType ret_type = thread_sp->GetProcess()->GetPrivateState(); in HasTargetRunSinceMe() 63 // This is a little tricky. We want to count "run and stopped again in HasTargetRunSinceMe() [all …]
|
H A D | ThreadPlanCallOnFunctionExit.cpp | 1 //===-- ThreadPlanCallOnFunctionExit.cpp ----------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 20 // We are not a user-generated plan. in ThreadPlanCallOnFunctionExit() 35 eVoteNo, // do not say "we're stopping" in DidPush() 36 eVoteNoOpinion, // don't care about run state broadcasting in DidPush() 49 s->Printf("Running until completion of current function, then making " in GetDescription() 54 // We'll say we're always good since I don't know what would make this in ValidatePlan() 61 // the step-out plan completed. If it did, then we want to run the callback in ShouldStop() 63 if (m_step_out_threadplan_sp && m_step_out_threadplan_sp->IsPlanComplete()) { in ShouldStop() [all …]
|
/freebsd/sys/contrib/openzfs/.github/workflows/ |
H A D | checkstyle.yaml | 8 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 9 cancel-in-progress: true 13 runs-on: ubuntu-22.04 15 - uses: actions/checkout@v4 18 - name: Install dependencies 19 run: | 21 sudo apt-get purge -y snapd google-chrome-stable firefox 22 ONLY_DEPS=1 .github/workflows/scripts/qemu-3-deps-vm.sh ubuntu22 23 sudo apt-get install -y cppcheck devscripts mandoc pax-utils shellcheck 24 sudo python -m pipx install --quiet flake8 [all …]
|
/freebsd/usr.sbin/rpc.statd/ |
H A D | rpc.statd.8 | 1 .\" -*- nroff -*- 3 .\" Copyright (c) 1995 A.R.Gordon, andrew.gordon@net-tel.co.uk 46 is a daemon which co-operates with 59 and re-starts, when the 61 re-starts, it will notify all of the hosts which were being monitored 65 .Bl -tag -width indent 81 to run 113 because the protocol assumes that the daemon will run from system start time. 114 Instead, it should be run from 118 .Bl -tag -width /usr/include/rpcsvc/sm_inter.x -compact [all …]
|