/freebsd/tools/regression/usr.bin/env/ |
H A D | regress-env.rgdata | 39 stdout:A-a1a-Z 44 stdout:A-Global-TV-Value-Z 50 stdout:A-bb22bb-Z 55 stdout:A-ab22ab-Z 60 stdout:A-abc 33 abc-Z 77 stdout:A-/usr/sbin-Z 92 stdout:A-/usr/sbin-Z 93 stdout:B-/bin:/usr/bin:/usr/sbin-Y 102 stdout:A-abc44abc-Z B-us11er-Y 108 stdout:A-abc55abc-Z B-us11er-Y [all …]
|
/freebsd/contrib/ldns/drill/ |
H A D | securetrace.c | 74 ldns_pkt_print(stdout, p); in get_dnssec_pkt() 227 ldns_rr_list_print(stdout, global_dns_root); in do_secure_trace() 268 ldns_pkt_print(stdout, local_p); in do_secure_trace() 328 ldns_rr_list_print(stdout, nsec_rrs); in do_secure_trace() 330 ldns_rr_list_print(stdout, nsec_rr_sigs); in do_secure_trace() 332 ldns_rr_list_print(stdout, correct_key_list); in do_secure_trace() 337 fprintf(stdout, "%s ", TRUST); in do_secure_trace() 338 fprintf(stdout, "Existence denied: "); in do_secure_trace() 339 ldns_rdf_print(stdout, labels[i]); in do_secure_trace() 346 */ fprintf(stdout, " NS\n"); in do_secure_trace() [all …]
|
/freebsd/contrib/kyua/bootstrap/ |
H A D | testsuite.at | 76 AT_CHECK([RUN_PLAIN_HELPER([abort_test_cases_list])], [1], [stdout], []) 78 AT_CHECK([grep "${re}" stdout], [0], [ignore], []) 87 AT_CHECK([RUN_PLAIN_HELPER([empty_test_cases_list])], [1], [stdout], []) 89 AT_CHECK([grep "${re}" stdout], [0], [ignore], []) 98 AT_CHECK([RUN_PLAIN_HELPER([zero_test_cases])], [1], [stdout], []) 100 AT_CHECK([grep "${re}" stdout], [0], [ignore], []) 109 AT_CHECK([RUN_ATF_HELPERS([passes])], [0], [stdout], []) 110 AT_CHECK([grep "atf_helpers:fails" stdout], [1], [], []) 111 AT_CHECK([grep "atf_helpers:passes.*passed" stdout], [0], [ignore], []) 112 AT_CHECK([grep "atf_helpers:skips" stdout], [1], [], []) [all …]
|
/freebsd/usr.bin/indent/tests/ |
H A D | Makefile | 4 ${PACKAGE}FILES+= binary.0.stdout 6 ${PACKAGE}FILES+= comments.0.stdout 8 ${PACKAGE}FILES+= declarations.0.stdout 10 ${PACKAGE}FILES+= elsecomment.0.stdout 13 ${PACKAGE}FILES+= f_decls.0.stdout 15 ${PACKAGE}FILES+= float.0.stdout 17 ${PACKAGE}FILES+= label.0.stdout 20 ${PACKAGE}FILES+= list_head.0.stdout 22 ${PACKAGE}FILES+= ncs.0.stdout 25 ${PACKAGE}FILES+= offsetof.0.stdout [all …]
|
/freebsd/contrib/atf/atf-sh/ |
H A D | atf_check_test.sh | 38 atf_check -s eq:0 -o save:stdout -e save:stderr -x \ 40 grep 'Executing command.*true' stdout >/dev/null || \ 43 atf_check -s eq:0 -o save:stdout -e save:stderr -x \ 45 grep 'Executing command.*false' stdout >/dev/null || \ 53 "stdout and the expected stdout if the two do not" \ 60 atf_check -s eq:1 -o save:stdout -e save:stderr -x \ 62 grep 'Executing command.*echo bar' stdout >/dev/null || \ 64 grep 'stdout does not match golden output' stderr >/dev/null || \ 65 atf_fail "atf_check does not print the stdout header" 69 atf_fail "atf_check does not print the stdout's diff" [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | job-output.mk | 7 @${MAKE} -f ${MAKEFILE} -j1 stdout-and-stderr 8 @${MAKE} -f ${MAKEFILE} -j1 echo-on-stdout-and-stderr 22 # In parallel mode, both stdout and stderr from the child process are 23 # collected in a local buffer and then written to make's stdout. 25 # expect: begin stdout-and-stderr 26 # expect: only stdout: 27 # expect: This is stdout. 30 # expect: end stdout-and-stderr 31 stdout-and-stderr: 33 @echo only stdout: [all …]
|
H A D | depsrc-ignore.mk | 11 # ignore-errors". This is due to stdout being buffered. 19 # As the manual page says, in debugging mode stdout is line buffered. 20 # In these tests the output is redirected to a file, therefore stdout is 27 # * the "fflush" line, to see stdout being flushed 37 # Goes to the stdout buffer (CompatRunCommand, keyword "!silent") and 38 # the immediate call to fflush(stdout) copies it to STDOUT_FILENO. 40 # Goes to the stdout buffer but is not flushed (CompatRunCommand, near 47 # Goes to the stdout buffer, where the "*** Error code 1 (ignored)" is 50 # Goes to the stdout buffer. 52 # Goes to the stdout buffer. [all …]
|
/freebsd/contrib/kyua/integration/ |
H A D | cmd_help_test.sh | 32 atf_check -s exit:0 -o save:stdout -e empty kyua help 33 grep -E 'kyua .*[0-9]+\.[0-9]+' stdout || atf_fail 'No version reported' 34 grep '^Usage: kyua' stdout || atf_fail 'No usage line printed' 35 grep -- '--loglevel' stdout || atf_fail 'Generic options not printed' 36 if grep -- '--show' stdout; then 39 grep 'about *Shows detailed' stdout || atf_fail 'Commands not printed' 45 atf_check -s exit:0 -o save:stdout -e empty kyua help test 46 grep -E 'kyua .*[0-9]+\.[0-9]+' stdout || atf_fail 'No version reported' 47 grep '^Usage: kyua' stdout || atf_fail 'No usage line printed' 48 grep '^Run tests' stdout || atf_fail 'No description printed' [all …]
|
H A D | cmd_report_html_test.sh | 52 atf_check -s exit:1 -o save:stdout -e empty env MOCK="${mock_env}" kyua test 53 grep '^Results saved to ' stdout | cut -d ' ' -f 4 >"${dbfile_name}" 54 rm stdout 114 "This is the stdout of skip" "This is the stderr of skip" 116 "This is the stdout of pass" "This is the stderr of pass" \ 117 "This is the stdout of fail" "This is the stderr of fail" \ 121 "This is the stdout of fail" "This is the stderr of fail" 123 "This is the stdout of pass" "This is the stderr of pass" \ 124 "This is the stdout of skip" "This is the stderr of skip" \ 229 "This is the stdout of pass" "This is the stderr of pass" [all …]
|
/freebsd/usr.sbin/bluetooth/hccontrol/ |
H A D | info.c | 53 fprintf(stdout, "Status: %s [%#02x]\n", in hci_read_local_version_information() 60 fprintf(stdout, "HCI version: %s [%#02x]\n", in hci_read_local_version_information() 62 fprintf(stdout, "HCI revision: %#04x\n", in hci_read_local_version_information() 64 fprintf(stdout, "LMP version: %s [%#02x]\n", in hci_read_local_version_information() 66 fprintf(stdout, "LMP sub-version: %#04x\n", in hci_read_local_version_information() 68 fprintf(stdout, "Manufacturer: %s [%#04x]\n", in hci_read_local_version_information() 89 fprintf(stdout, "Status: %s [%#02x]\n", in hci_read_local_supported_commands() 94 fprintf(stdout, "Supported commands:"); in hci_read_local_supported_commands() 97 fprintf(stdout, "\n"); in hci_read_local_supported_commands() 98 fprintf(stdout, "%#02x ", rp.features[n]); in hci_read_local_supported_commands() [all …]
|
H A D | le.c | 130 fprintf(stdout, "Status: %s [%#02x]\n", in le_set_scan_param() 163 fprintf(stdout, "Status: %s [%#02x]\n", in le_set_scan_enable() 168 fprintf(stdout, "LE Scan: %s\n", in le_set_scan_enable() 252 fprintf(stdout, "Status: %s [%#02x]\n", in le_set_scan_response() 280 fprintf(stdout, "Status: %s [%#02x]\n", in le_read_local_supported_features() 287 fprintf(stdout, "LE Features: "); in le_read_local_supported_features() 289 fprintf(stdout, " %#02x", le_features.octets[i]); in le_read_local_supported_features() 290 fprintf(stdout, "\n%s\n", hci_le_features2str(le_features.octets, in le_read_local_supported_features() 292 fprintf(stdout, "\n"); in le_read_local_supported_features() 310 fprintf(stdout, "Status: %s [%#02x]\n", in le_read_supported_states() [all …]
|
H A D | adv_data.c | 51 fprintf(stdout, "\tADV Data: "); in dump_adv_data() 53 fprintf(stdout, "%02x ", advdata[n]); in dump_adv_data() 55 fprintf(stdout, "\n"); in dump_adv_data() 71 fprintf(stdout, in print_adv_data() 80 fprintf(stdout, in print_adv_data() 90 fprintf(stdout, in print_adv_data() 100 fprintf(stdout, in print_adv_data() 110 fprintf(stdout, in print_adv_data() 119 fprintf(stdout, in print_adv_data() 128 fprintf(stdout, in print_adv_data() [all …]
|
H A D | node.c | 56 fprintf(stdout, "State: %#x\n", r.state); in hci_read_node_state() 81 fprintf(stdout, "Debug level: %d\n", r.debug); in hci_read_debug_level() 118 fprintf(stdout, "Number of free command buffers: %d\n", in hci_read_node_buffer_size() 120 fprintf(stdout, "Max. ACL packet size: %d\n", in hci_read_node_buffer_size() 122 fprintf(stdout, "Numbef of free ACL buffers: %d\n", in hci_read_node_buffer_size() 124 fprintf(stdout, "Total number of ACL buffers: %d\n", in hci_read_node_buffer_size() 126 fprintf(stdout, "Max. SCO packet size: %d\n", in hci_read_node_buffer_size() 128 fprintf(stdout, "Numbef of free SCO buffers: %d\n", in hci_read_node_buffer_size() 130 fprintf(stdout, "Total number of SCO buffers: %d\n", in hci_read_node_buffer_size() 146 fprintf(stdout, "BD_ADD in hci_read_node_bd_addr() [all...] |
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | makeshell.c | 109 fputs(LOOP_STR, stdout); in optionParseShell() 111 fputs(LONG_OPT_MARK, stdout); in optionParseShell() 112 fputs(INIT_LOPT_STR, stdout); in optionParseShell() 115 fputs(END_OPT_SEL_STR, stdout); in optionParseShell() 117 fputs(NOT_FOUND_STR, stdout); in optionParseShell() 121 fputs(ONLY_OPTS_LOOP, stdout); in optionParseShell() 122 fputs(INIT_LOPT_STR, stdout); in optionParseShell() 128 fputs(LOOP_STR, stdout); in optionParseShell() 130 fputs(FLAG_OPT_MARK, stdout); in optionParseShell() 131 fputs(INIT_OPT_STR, stdout); in optionParseShell() [all …]
|
/freebsd/sbin/ping/tests/ |
H A D | test_ping.py | 243 args=command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True 264 stdout, stderr = ping.communicate() 266 ping.args, ping.returncode, stdout, stderr 293 # and the expected outcome (returncode, redacted stdout, and stderr) 299 "stdout": """\ 315 "stdout": """\ 331 "stdout": """\ 347 "stdout": """\ 361 "stdout": """\ 377 "stdout": """\ [all …]
|
/freebsd/contrib/libarchive/tar/test/ |
H A D | test_stdio.c | 66 /* 'cvf' should generate file list on stderr, empty stdout. */ in DEFINE_TEST() 69 failure("'cv' writes filenames to stderr, nothing to stdout (SUSv2)\n" in DEFINE_TEST() 70 "Note that GNU tar writes the file list to stdout by default."); in DEFINE_TEST() 74 /* 'cvf -' should generate file list on stderr, archive on stdout. */ in DEFINE_TEST() 77 failure("cvf - should write archive to stdout"); in DEFINE_TEST() 80 /* Check that stdout from 'cvf -' was a valid archive. */ in DEFINE_TEST() 86 /* 'tf' should generate file list on stdout, empty stderr. */ in DEFINE_TEST() 90 failure("'t' mode should write results to stdout"); in DEFINE_TEST() 93 /* 'tvf' should generate file list on stdout, empty stderr. */ in DEFINE_TEST() 97 failure("'tv' mode should write results to stdout"); in DEFINE_TEST() [all …]
|
H A D | test_help.c | 34 r = systemf("%s --help >help.stdout 2>help.stderr", testprog); in DEFINE_TEST() 39 p = slurpfile(&plen, "help.stdout"); in DEFINE_TEST() 51 r = systemf("%s -h >h.stdout 2>h.stderr", testprog); in DEFINE_TEST() 55 failure("stdout should be same for -h and --help"); in DEFINE_TEST() 56 assertEqualFile("h.stdout", "help.stdout"); in DEFINE_TEST() 59 r = systemf("%s -W help >Whelp.stdout 2>Whelp.stderr", testprog); in DEFINE_TEST() 63 failure("stdout should be same for -W help and --help"); in DEFINE_TEST() 64 assertEqualFile("Whelp.stdout", "help.stdout"); in DEFINE_TEST()
|
/freebsd/usr.sbin/bluetooth/sdpcontrol/ |
H A D | search.c | 119 fprintf(stdout, "\t%s (%#4.4x)\n", in print_service_class_id_list() 125 fprintf(stdout, "\t%#8.8x\n", value); in print_service_class_id_list() 132 fprintf(stdout, "\t%#8.8x-%4.4x-%4.4x-%4.4x-%4.4x%8.8x\n", in print_service_class_id_list() 182 fprintf(stdout, "\t%s (%#4.4x)\n", sdp_uuid2desc(value.uint16), in print_protocol_descriptor() 188 fprintf(stdout, "\t%#8.8x\n", value.uint32); in print_protocol_descriptor() 193 fprintf(stdout, "\t%#8.8x-%4.4x-%4.4x-%4.4x-%4.4x%8.8x\n", in print_protocol_descriptor() 211 fprintf(stdout, "\t\tProtocol specific parameter #%d: ", param); in print_protocol_descriptor() 216 fprintf(stdout, "nil\n"); in print_protocol_descriptor() 223 fprintf(stdout, "u/int8/bool %u\n", value.uint8); in print_protocol_descriptor() 230 fprintf(stdout, " in print_protocol_descriptor() [all...] |
/freebsd/sbin/ipf/ipsend/ |
H A D | iptests.c | 132 fflush(stdout); in ip_test1() 148 fflush(stdout); in ip_test1() 165 fflush(stdout); in ip_test1() 181 fflush(stdout); in ip_test1() 201 fflush(stdout); in ip_test1() 213 fflush(stdout); in ip_test1() 232 fflush(stdout); in ip_test1() 244 fflush(stdout); in ip_test1() 259 fflush(stdout); in ip_test1() 267 fflush(stdout); in ip_test1() [all …]
|
/freebsd/bin/sh/tests/builtins/ |
H A D | Makefile | 10 ${PACKAGE}FILES+= alias.0 alias.0.stdout 12 ${PACKAGE}FILES+= alias3.0 alias3.0.stdout 15 ${PACKAGE}FILES+= break2.0 break2.0.stdout 52 ${PACKAGE}FILES+= cd9.0 cd9.0.stdout 59 ${PACKAGE}FILES+= command3.0.stdout 62 ${PACKAGE}FILES+= command5.0.stdout 64 ${PACKAGE}FILES+= command6.0.stdout 96 ${PACKAGE}FILES+= fc3.0 fc3.0.stdout fc3.0.stderr 100 ${PACKAGE}FILES+= getopts1.0 getopts1.0.stdout 101 ${PACKAGE}FILES+= getopts2.0 getopts2.0.stdout [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/tools/ |
H A D | dtest.sh | 54 dtrace -C -s "${TFILE}" $dflags >$STDOUT 2>$STDERR 73 tst=$TFILE ksh -p "$TFILE" /usr/sbin/dtrace >$STDOUT 2>$STDERR 88 head -n 1 $STDOUT | grep -q -E '^#!/.*ksh$'; then 89 ksh -p $STDOUT 99 readonly STDOUT=$(mktemp) 109 ! cmp $STDOUT $EXOUT >/dev/null 2>&1; then 116 if [ $(stat -f '%z' $STDOUT) -gt 0 ]; then 118 test stdout: 120 $(cat $STDOUT) 122 test stdout diff: [all …]
|
/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_option_help.c | 34 r = systemf("%s --help >help.stdout 2>help.stderr", testprog); in DEFINE_TEST() 39 p = slurpfile(&plen, "help.stdout"); in DEFINE_TEST() 51 r = systemf("%s -h >h.stdout 2>h.stderr", testprog); in DEFINE_TEST() 55 failure("stdout should be same for -h and --help"); in DEFINE_TEST() 56 assertEqualFile("h.stdout", "help.stdout"); in DEFINE_TEST() 59 r = systemf("%s -W help >Whelp.stdout 2>Whelp.stderr", testprog); in DEFINE_TEST() 63 failure("stdout should be same for -W help and --help"); in DEFINE_TEST() 64 assertEqualFile("Whelp.stdout", "help.stdout"); in DEFINE_TEST()
|
/freebsd/crypto/openssl/demos/pkey/ |
H A D | EVP_PKEY_RSA_keygen.c | 191 fprintf(stdout, "\nNumber of bits: %d\n\n", bits); in dump_key() 193 fprintf(stdout, " n = 0x"); in dump_key() 194 BN_print_fp(stdout, n); in dump_key() 195 fprintf(stdout, "\n"); in dump_key() 197 fprintf(stdout, " e = 0x"); in dump_key() 198 BN_print_fp(stdout, e); in dump_key() 199 fprintf(stdout, "\n\n"); in dump_key() 201 fprintf(stdout, "Private values:\n"); in dump_key() 202 fprintf(stdout, " d = 0x"); in dump_key() 203 BN_print_fp(stdout, d); in dump_key() [all …]
|
/freebsd/crypto/krb5/src/ccapi/test/ |
H A D | test_ccapi_log.c | 8 fprintf(stdout, "\n\t%s:%d: ", file, line); in _log_error_v() 10 fprintf(stdout, "An unknown error occurred"); in _log_error_v() 12 vfprintf(stdout, format, ap); in _log_error_v() 14 fflush(stdout); in _log_error_v() 27 fprintf(stdout, "\nChecking %s... ", msg); in test_header() 28 fflush(stdout); in test_header() 35 fprintf(stdout, "OK\n"); in test_footer() 38 fprintf(stdout, "\n*** %d failure%s in %s ***\n", err, (err == 1) ? "" : "s", msg); in test_footer()
|
/freebsd/sbin/camcontrol/ |
H A D | persist.c | 142 fprintf(stdout, "Scope: %s (%#x)\n", (tmpstr != NULL) ? tmpstr : in persist_print_scopetype() 149 fprintf(stdout, "Type: %s (%#x)\n", (tmpstr != NULL) ? tmpstr : in persist_print_scopetype() 166 fprintf(stdout, "%s\n", sbuf_data(sb)); in persist_print_transportid() 188 fprintf(stdout, "No reservations.\n"); in persist_print_res() 194 fprintf(stdout, "PRgeneration: %#x\n", in persist_print_res() 196 fprintf(stdout, "Reservation Key: %#jx\n", in persist_print_res() 198 fprintf(stdout, "Scope address: %#x\n", in persist_print_res() 203 fprintf(stdout, "Extent length: %u\n", in persist_print_res() 222 fprintf(stdout, "PRgeneration: %#x\n", scsi_4btoul(hdr->generation)); in persist_print_keys() 223 fprintf(stdout, "%u key%s%s\n", num_keys, (num_keys == 1) ? "" : "s", in persist_print_keys() [all …]
|