/freebsd-current/tests/sys/geom/class/mirror/ |
H A D | 5_test.sh | 14 dd if=/dev/random of=${src} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 23 dd if=${src} of=/dev/mirror/${name} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 25 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 33 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 41 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 49 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
|
H A D | 7_test.sh | 14 dd if=/dev/random of=${src} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 23 dd if=${src} of=/dev/mirror/${name} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 25 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 33 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 41 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 49 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
|
H A D | 11_test.sh | 3 # Test handling of read errors. 16 dd if=/dev/random of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1 17 dd if=/dev/zero of=$m2 bs=$ddbs count=1024 >/dev/null 2>&1 34 dd if=/dev/mirror/$name of=$tmp1 iseek=512 bs=$ddbs count=1 >/dev/null 2>&1 35 dd if=/dev/$us1 of=$tmp2 iseek=512 bs=$ddbs count=1 >/dev/null 2>&1 54 dd if=/dev/zero of=/dev/mirror/$name bs=$ddbs count=1 >/dev/null 2>&1 65 # Force a retaste of the disconnected component.
|
H A D | 13_test.sh | 3 # Test handling of write errors. 16 dd if=/dev/random of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1 17 dd if=/dev/zero of=$m2 bs=$ddbs count=1024 >/dev/null 2>&1 28 dd if=/dev/random of=$tmp1 bs=$ddbs count=1 >/dev/null 2>&1 34 dd if=$tmp1 of=/dev/mirror/$name bs=$ddbs count=1 >/dev/null 2>&1 35 dd if=/dev/mirror/$name of=$tmp2 bs=$ddbs count=1 >/dev/null 2>&1 62 # Force a retaste of the disconnected component.
|
/freebsd-current/tests/sys/geom/class/eli/ |
H A D | detach_test.sh | 17 atf_check dd if=/dev/random of=keyfile bs=512 count=16 status=none 23 atf_check dd if=/dev/${md}.eli of=/dev/null status=none 32 atf_check dd if=/dev/${md}.eli of=/dev/null status=none
|
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | hanoi-include.mk | 3 # Implements the Towers of Hanoi puzzle, demonstrating a bunch of more or less 8 # * extracting the current value of a variable using the .for loop 15 # Specifying N in the command line instead of in the environment would produce 20 N?= 5 # Move this number of disks ... 25 # Since make has no built-in arithmetic functions, convert N to a list of
|
H A D | var-scope-cmdline.mk | 10 # which before var.c 1.586 from 2020-10-25 calculated the hash value of the 11 # variable name once for each lookup. Instead, when looking up the value of 13 # most of the variables are stored. This conflicts with the statement that 15 # common case of finding a variable in the global scope, another lookup would 19 # Instead of this costly lookup scheme, make implements it in a different 23 # there is a cmdline variable of the same name. 25 # Whenever a cmdline variable is created, any global variable of the 33 # there cannot be a cmdline variable of the same name. Therefore, after 42 # variable. Instead, the name of the global variable was expanded one more 43 # time than the name of th [all...] |
H A D | opt-query.mk | 6 # None of the commands in the targets are run, not even those that are 9 # This test consists of several parts: 13 # commands Ensures that none of the targets is made. 17 # kinds of make targets. 37 . for target in opt-query-file.out-of-date opt-query-file.up-to-date phony 49 # expect: opt-query-file.out-of-date in compat mode: query status 1 52 # expect: opt-query-file.out-of-date in jobs mode: query status 1 65 # None of these commands are run. 70 # None of these commands are run. 79 opt-query-file.out-of [all...] |
H A D | varparse-undef-partial.mk | 4 # initial '$' of the expression is skipped by the parser, while 6 # a completely different interpretation of the partially expanded text. 13 # with the ":Q" being part of the name. This variable is not defined, 14 # therefore the initial '$' of that whole expression is skipped by the parser 15 # (see VarSubstExpr) and the rest of the expression is expanded as usual. 18 # interpretation of the ":Q" has changed from being part of the variable 25 # Define the possible outcomes, to see which of them gets expanded. 30 # ${VAR.:Q} is expanded, consisting of the variable name "VAR." and the 38 # defined. It is expanded as usual, interpreting the ":Q" as part of th [all...] |
H A D | directive-for-escape.mk | 3 # Test escaping of special characters in the iteration values of a .for loop. 10 # string into words, the quotes don't need to be balanced, as of 2020-12-31. 15 # XXX: As of 2020-12-31, the '#' is not preserved in the expanded body of 23 # As of 2020-12-31, using 2 backslashes before be '#' would treat the '#' 26 # This means that a '#' sign cannot be passed in the value of a .for loop 38 # was adventurous enough to use literal dollar signs in the values of a .for 72 # The value of the variable VALUES is not meant to be an expression. 83 # Each of thes [all...] |
H A D | varname-dot-curdir.mk | 4 # canonical path of the current working directory, when make started. 25 # Until 2020-10-04, assigning the result of a shell assignment to .CURDIR 26 # tried to add the shell command ("echo /") to the .PATH instead of the 27 # output of the shell command ("/"). Since "echo /" does not exist, the 30 # Since 2020-10-04, the output of the shell command is added to .PATH.
|
H A D | var-recursive.mk | 26 # The chain of variables that refer to each other may be long. 33 # The variable refers to itself, but only in the branch of a condition that 49 # If a recursive variable is accessed in a command of a target, the makefiles 51 # .includes and .for directives. In such a case, use the location of the last 52 # command of the target to provide at least a hint to the location.
|
/freebsd-current/sbin/pfctl/tests/ |
H A D | pfctl_test_list.inc | 6 * This software was developed by SRI International and the University of 7 * Cambridge Computer Laboratory (Department of Computer Science and 8 * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the 16 * 1. Redistributions of source code must retain the above copyright notice, 17 * this list of conditions and the following disclaimer. 19 * this list of conditions and the following disclaimer in the documentation
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | InstrProfData.inc | 3 |* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 18 * Testing of any change in this file can start only after the two copies are 21 * The first part of the file includes macros that defines types, names, and 22 * initializers for the member fields of the core data structures. The field 28 * Examples of how the template is used to instantiate structure definition: 53 * The second part of the file includes definitions all other entities that 66 /* Definition of member fields of the per-function control structure. */ 125 /* Definition of member fields of th [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/include/profile/ |
H A D | InstrProfData.inc | 3 |* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 18 * Testing of any change in this file can start only after the two copies are 21 * The first part of the file includes macros that defines types, names, and 22 * initializers for the member fields of the core data structures. The field 28 * Examples of how the template is used to instantiate structure definition: 53 * The second part of the file includes definitions all other entities that 66 /* Definition of member fields of the per-function control structure. */ 125 /* Definition of member fields of th [all...] |
/freebsd-current/lib/libc/amd64/string/ |
H A D | memchr.S | 10 * 1. Redistributions of source code must retain the above copyright 11 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 48 add %rdi, %rdx # pointer to end of buffer or to end of 70 cmp %rdx, %rdi # end of buffer reached during head? 124 add %rdi, %rdx # pointer to end of buffer or to end of 139 shr %cl, %r8d # bytes in tail that are part of the buffer 145 cmp %rdx, %rdi # end of buffe [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/no_space/ |
H A D | enospc_ganging.ksh | 4 # This file and its contents are supplied under the terms of the 6 # You may only use this file in accordance with the terms of version 7 # 1.0 of the CDDL. 9 # A full copy of the text of the CDDL should have accompanied this 10 # source. A copy of the CDDL is also available via the Internet at 43 log_must dd if=/dev/urandom of=$TESTDIR/data bs=$bs count=$count 50 log_must dd if=$TESTDIR/data of=$mntpnt/file bs=$bs count=$count 52 log_must dd if=$mntpnt/file of=$TESTDIR/out bs=$bs count=$count 74 log_must dd if=$TESTDIR/data of [all...] |
/freebsd-current/tools/test/stress2/misc/ |
H A D | radix.sh | 10 # 1. Redistributions of source code must retain the above copyright 11 # notice, this list of conditions and the following disclaimer. 13 # notice, this list of conditions and the following disclaimer in the 80 4104, 4105, ... in each of the VM objects. (The sequence would be 83 Each of the VM objects would have only one less interior node in the 84 radix tree than pages. If I create enough of these VM objects, then I 85 can consume all of the available pages and an almost equal number of 238 errx(1, "Usage: %s <number of parallel processes>.", argv[0]); 268 fprintf(stdout, "A total of [all...] |
/freebsd-current/contrib/netbsd-tests/bin/ps/ |
H A D | t_ps.sh | 9 # 1. Redistributions of source code must retain the above copyright 10 # notice, this list of conditions and the following disclaimer. 12 # notice, this list of conditions and the following disclaimer in the 28 # the implementation of "ps" to test 37 # Parse the "keywords" file into a load of shell variables 93 # default sets of keywords 102 # Convert a list of keywords like "pid comm" to a regexp 184 atf_set "descr" "Checks that the default set of columns is correct" \ 219 atf_set "descr" "Checks simple cases of 'ps -o foo' to control which" \ 247 atf_set "descr" "Tests simple uses of heade [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/ |
H A D | slog_replay_volume.ksh | 5 # The contents of this file are subject to the terms of the 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 18 # information: Portions Copyright [yyyy] [name of copyright owner] 35 # The general idea is to build up an intent log from a bunch of 40 # To enable this automated testing of the intent log some minimal 41 # support is required of the file system. In particular, a 43 # to stop the actual committing of transactions; and to ensure no 51 # 3. Create log records of various types to verify replay. 55 # intent log contains a complete set of delta [all...] |
/freebsd-current/share/dtrace/ |
H A D | nfsattrstats | 6 * This software was developed at the University of Cambridge Computer 12 * 1. Redistributions of source code must retain the above copyright 13 * notice, this list of conditions and the following disclaimer. 15 * notice, this list of conditions and the following disclaimer in the 30 * This script creates a trace of NFS RPCs, NFS attribute cache 33 * outside of the context of a system call, most likely due to the VM
|
H A D | tcpconn | 9 * 1. Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer in the 27 * The tcpconn D script shows histograms of the source of TCP connections
|
H A D | retval | 9 * 1. Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer in the 27 * retval - show the return value of any probe named by the user 32 * caller is responsible for handling the escaping of wild cards.
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_trampoline_arm.S | 15 @ Assume that "q" part of the floating-point registers is not used 22 @ Save floating-point parameters of the instrumented function 36 @ Restore floating-point parameters of the instrumented function 46 @ Assume that "q" part of the floating-point registers is not used for the 53 @ Save the floating-point return value of the instrumented function 68 @ Restore the floating-point return value of the instrumented function 78 @ Assume that "q" part of the floating-point registers is not used 85 @ Save floating-point parameters of the instrumented function 95 @ But before the logging part of XRay is ready, we pretend that here a 101 @ Restore floating-point parameters of th [all...] |
/freebsd-current/tests/sys/geom/class/gate/ |
H A D | ggate_test.sh | 22 atf_check -e ignore -o ignore dd if=/dev/random of=/dev/$work bs=1m count=1 conv=notrunc 63 dd if=/dev/random of=/dev/$work bs=1m count=1 conv=notrunc 65 dd if=/dev/random of=/dev/$src bs=1m count=1 conv=notrunc 78 dd if=/dev/${src} of=${ggate_dev} bs=1m count=1 conv=notrunc 104 dd if=/dev/random of=work bs=1m count=1 105 dd if=/dev/random of=src bs=1m count=1 114 dd if=src of=${ggate_dev} bs=1m count=1 conv=notrunc 142 dd if=/dev/random of=$work bs=1m count=1 conv=notrunc 144 dd if=/dev/random of=$src bs=1m count=1 conv=notrunc 153 dd if=/dev/$src of [all...] |