Home
last modified time | relevance | path

Searched +full:stdout +full:- +full:path (Results 1 – 25 of 1064) sorted by relevance

12345678910>>...43

/freebsd-src/tools/regression/usr.bin/env/
H A Dregress-env.rgdata1 #-
2 # Copyright (c) 2005 - Garance Alistair Drosehn <gad@FreeBSD.org>.
29 gblenv=PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
30 gblenv=TESTVAR=Global-TV-Value
33 # These first two tests are testing how well the regression-script itself is
34 # handling environment-variables, as much as testing the `env' program.
38 script:/bin/echo A-${TESTVAR}-Z
39 stdout:A-a1a-Z
42 sb_args:-S /bin/sh
43 script:/bin/echo A-${TESTVAR}-Z
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/
H A Dchosen.txt2 ---------------
11 kaslr-seed
12 -----------
22 kaslr-seed = <0xfeedbeef 0xc0def00d>;
31 stdout-path
32 -----------
35 with a stdout-path property under /chosen, as described in the Devicetree
40 stdout-path = "/serial@f00:115200";
44 compatible = "vendor,some-uart";
49 If the character ":" is present in the value, this terminates the path.
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dxattrtest.c9 * or https://opensource.org/licenses/CDDL-1.0.
61 { "path", required_argument, 0, 'p' },
94 static const char *path = "/tmp/xattrtest"; variable
102 "usage: %s [-hvycdrRk] [-n <nth>] [-f <files>] [-x <xattrs>]\n" in usage()
103 " [-s <bytes>] [-p <path>] [-t <script> ] [-o <phase>]\n", in usage()
107 " --help -h This help\n" in usage()
108 " --verbose -v Increase verbosity\n" in usage()
109 " --verify -y Verify xattr contents\n" in usage()
110 " --nth -n <nth> Print every nth file\n" in usage()
111 " --files -f <files> Set xattrs on N files\n" in usage()
[all …]
/freebsd-src/usr.bin/locate/code/
H A Dlocate.code.c2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 1995-2022 Wolfram Schneider <wosch@FreeBSD.org>
46 * offset differential count byte followed by a partially bigram-
47 * encoded ascii residue. A bigram is a two-character sequence,
60 * 0-28 likeliest differential counts + offset to make nonnegative
61 * 30 switch code for out-of-range count to follow in next word
63 * 128-255 bigram codes (128 most common, as determined by 'updatedb')
64 * 32-127 single character (printable) ascii residue (ie, literal)
67 * and NUL ('\0'). The 8-bit character support don't wast extra
76 * 8-bit file names characters:
[all …]
/freebsd-src/contrib/kyua/utils/process/
H A Dchild_test.cpp48 #include <atf-c++.hpp>
54 #include "utils/fs/path.hpp"
89 std::cout << "To stdout: " << Message << "\n"; in child_simple_function()
100 /// The message to print on stdout and stderr.
107 /// \param message The message to print on stdout and stderr.
118 std::cout << "To stdout: " << _message << "\n"; in operator ()()
125 /// Body for a process that prints many messages to stdout and exits.
133 std::cout << "This is a message to stdout, sequence " << i << "\n"; in child_printer_function()
200 /// Calculates the path to the test helpers binary.
205 /// \return The path to the helpers binary.
[all …]
H A Dchild.cpp46 #include "utils/fs/path.hpp"
67 /// The input stream for the process' stdout and stderr. May be NULL.
91 /// Exception-based version of dup(2).
101 if (process::detail::syscall_dup2(old_fd, new_fd) == -1) { in safe_dup()
109 /// Exception-based version of open(2) to open (or create) a file for append.
117 open_for_append(const fs::path& filename) in open_for_append()
122 if (fd == -1) { in open_for_append()
136 log_exec(const fs::path& program, const process::args_vector& args) in log_exec()
171 /// \param implptr A dynamically-allocated impl object with the contents of the
191 /// dynamically-allocated object because children classes are unique and thus
[all …]
H A Doperations_test.cpp42 #include <atf-c++.hpp>
46 #include "utils/fs/path.hpp"
61 typedef void (*exec_function)(const fs::path&, const process::args_vector&);
64 /// Calculates the path to the test helpers binary.
69 /// \return The path to the helpers binary.
70 static fs::path
73 return fs::path(tc->get_config_var("srcdir")) / "helpers"; in get_helpers()
82 /// Path to the binary to exec.
83 const fs::path& _program;
92 /// \param program Path to the binary to exec.
[all …]
H A Dexecutor.cpp54 #include "utils/fs/path.hpp"
95 /// Basename of the file containing the stdout of the subprocess.
96 const char* utils::process::executor::detail::stdout_name = "stdout.txt";
111 /// Prepares a subprocess to run a user-provided hook in a controlled manner.
114 /// \param control_directory Path to the subprocess-specific control directory.
115 /// \param work_directory Path to the subprocess-specific work directory.
119 const fs::path& control_directory, in setup_child()
120 const fs::path in setup_child()
[all...]
/freebsd-src/bin/cat/
H A Dcat.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
77 static int udom_open(const char *path, int flags);
86 /* Maximum buffer size in bytes - do not allow it to grow larger than this. */
98 * disable all flags except -l and -u to avoid non-portabl
235 char *path; scanfiles() local
437 udom_open(const char * path,int flags) udom_open() argument
[all...]
/freebsd-src/contrib/kyua/doc/
H A Dkyua-debug.1.in36 .Op Fl -build-root Ar path
37 .Op Fl -kyuafile Ar file
38 .Op Fl -stdout Ar path
39 .Op Fl -stderr Ar path
63 .Bl -bullet
65 Redirection of the test case's stdout and stderr to the console (the
68 .Fl -stdout
70 .Fl -stderr
75 .Bl -tag -width XX
76 .It Fl -build-root Ar path
[all …]
/freebsd-src/contrib/atf/atf-sh/
H A Datf-check.129 .Nm atf-check
41 exit code, stdout and stderr.
45 .Xr atf-sh 3 Ns ' Ns s
70 .Bl -tag -width XqualXvalueXX
74 .Bl -tag -width signal:<value> -compact
91 .Sq not-
96 .Bl -tag -width inline:<value> -compact
98 checks that stdout is empty
100 ignores stdout
101 .It Ar file:<path>
[all …]
/freebsd-src/sys/contrib/openzfs/tests/test-runner/bin/
H A Dtest-runner.py.in37 from os.path import exists
68 return t.tv_sec + t.tv_nsec * 1e-9
79 self.stdout = []
89 m, s = divmod(monotonic_time() - self.starttime, 60)
167 The timeout for tests is measured in wall-clock time
194 signal = '-TERM'
207 If this is not a user-initiated kill and the test has not been
213 runtime = monotonic_time() - self.result.starttime
229 if os.path.isfile(cmd+'.ksh') and os.access(cmd+'.ksh', os.X_OK):
231 if os.path
[all...]
/freebsd-src/contrib/atf/atf-c++/
H A Dcheck_test.cpp26 #include "atf-c++/check.hpp"
42 #include <atf-c++.hpp>
44 #include "atf-c++/detail/fs.hpp"
45 #include "atf-c++/detail/process.hpp"
46 #include "atf-c++/detail/test_helpers.hpp"
47 #include "atf-c++/detail/text.hpp"
48 #include "atf-c++/utils.hpp"
50 // ------------------------------------------------------------------------
52 // ------------------------------------------------------------------------
82 // ------------------------------------------------------------------------
[all …]
/freebsd-src/contrib/libarchive/unzip/
H A Dbsdunzip.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2007-2008 Dag-Erling Smørgrav
58 /* command-line options */
60 static int C_opt; /* match case-insensitively */
61 static int c_opt; /* extract to stdout */
250 pathdup(const char * path) pathdup() argument
278 pathcat(const char * prefix,const char * path) pathcat() argument
368 make_dir(const char * path,int mode) make_dir() argument
401 make_parent(char * path) make_parent() argument
437 extract_dir(struct archive * a,struct archive_entry * e,const char * path) extract_dir() argument
477 handle_existing_file(char ** path) handle_existing_file() argument
644 extract_file(struct archive * a,struct archive_entry * e,char ** path) extract_file() argument
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/arm/
H A Dsecure.txt15 can be supported by prefixing the property name with "secure-". So for
16 instance "secure-foo" would override "foo". For property names with
18 "vendor,secure-foo". If there is no "secure-" property then the Secure
20 non-prefixed property. However, only the properties listed below may
21 validly have "secure-" versions; this list will be enlarged on a
22 case-by-case basis.
25 been annotated to indicate the presence of Secure-only devices can
26 still be processed unmodified by existing Non-secure software (and in
32 secure- bindings only need to be used where both the Secure and Normal
36 -----------------------------
[all …]
/freebsd-src/tools/build/
H A Dmake.py3 # -
4 # SPDX-License-Identifier: BSD-2-Clause
31 # This script makes it easier to build on non-FreeBSD systems by bootstrapping
35 # `MAKEOBJDIRPREFIX=~/obj ./tools/build/make.py buildworld -DWITH_FOO`
38 # --cross-bindi
[all...]
/freebsd-src/contrib/kyua/utils/
H A Dstream.cpp37 #include "utils/fs/path.hpp"
46 /// Constant that represents the path to stdout.
47 static const fs::path stdout_path("/dev/stdout");
50 /// Constant that represents the path to stderr.
51 static const fs::path stderr_path("/dev/stderr");
57 /// Opens a new file for output, respecting the stdout and stderr streams.
59 /// \param path The path to the output file to be created.
63 utils::open_ostream(const fs::path& path) in open_ostream() argument
66 if (path == stdout_path) { in open_ostream()
68 out->copyfmt(std::cout); in open_ostream()
[all …]
H A Dstream_test.cpp34 #include <atf-c++.hpp>
36 #include "utils/fs/path.hpp"
47 fs::path("/dev/stdout")); in ATF_TEST_CASE_BODY()
48 (*output) << "Message to stdout\n"; in ATF_TEST_CASE_BODY()
52 atf::utils::wait(pid, EXIT_SUCCESS, "Message to stdout\n", ""); in ATF_TEST_CASE_BODY()
62 fs::path("/dev/stderr")); in ATF_TEST_CASE_BODY()
77 fs::path("some-file.txt")); in ATF_TEST_CASE_BODY()
83 atf::utils::compare_file("some-file.txt", "Message to other file\n"); in ATF_TEST_CASE_BODY()
111 ATF_REQUIRE_EQ(contents, utils::read_file(fs::path("input.txt"))); in ATF_TEST_CASE_BODY()
120 utils::read_file(fs::path("foo.txt"))); in ATF_TEST_CASE_BODY()
/freebsd-src/contrib/llvm-project/lldb/bindings/python/
H A Dlldb-python8 lldb = os.path.join(os.path.dirname(__file__), 'lldb')
10 info_json = subprocess.run([lldb, "-l", "python", "-print-script-interpreter-info"],
11 check=True, stdout=subprocess.PIPE, encoding='utf8').stdout
15 info["lldb-pythonpath"] + os.path.pathsep + os.environ.get("PYTHONPATH", ""))
/freebsd-src/crypto/openssl/util/perl/OpenSSL/
H A DTest.pm1 # Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
31 OpenSSL::Test - a private extension of Test::More
44 ok(run(test(["sometest", "arg1"], stdout => "foo.txt")),
61 recipe C<$SRCTOP/test/recipes/99-foo.t>, there could be a directory
62 C<$SRCTOP/test/recipes/99-foo_data/>.
69 use File::Path 2.00 qw/rmtree mkpath/;
92 # is defined with a non-empty value.
128 variable if defined, otherwise C<$BLDTOP/test-runs> or C<$TOP/test-runs>,
154 unless -f srctop_file("Configure");
185 ok(run(app(["openssl", "version"]), stdout => "foo.txt"));
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc1 //===- llvm/Support/Unix/Program.inc ---------
[all...]
/freebsd-src/contrib/atf/atf-c/
H A Dcheck_test.c26 #include "atf-c/check.h"
35 #include <atf-c.h>
37 #include "atf-c/detail/fs.h"
38 #include "atf-c/detail/map.h"
39 #include "atf-c/detail/process.h"
40 #include "atf-c/detail/test_helpers.h"
42 /* ---------------------------------------------------------------------
44 * --------------------------------------------------------------------- */
94 /* ---------------------------------------------------------------------
96 * --------------------------------------------------------------------- */
[all …]
/freebsd-src/contrib/googletest/googletest/test/
H A Dgtest_test_utils.py32 # pylint: disable=g-import-not-at-top
46 # pylint: enable=g-import-not-at-top
50 # The environment variable for specifying the path to the premature-exit file.
72 'source_dir': os.path.dirname(sys.argv[0]),
73 'build_dir': os.path.dirname(sys.argv[0]),
94 prefix = '--' + flag + '='
100 # We don't increment i in case we just found a --gtest_* flag
109 # _ParseAndStripGTestFlags() here to make sure the --gtest_* flags
117 """Returns the absolute path of the directory where the .py files are."""
119 return os.path.abspath(GetFlag('source_dir'))
[all …]
/freebsd-src/contrib/ntp/sntp/libevent/sample/
H A Dhttp-server.c10 #include "../util-internal.h"
112 /* Try to guess a good content-type for 'path' */
114 guess_content_type(const char *path) in guess_content_type() argument
118 last_period = strrchr(path, '.'); in guess_content_type()
122 for (ent = &content_type_table[0]; ent->extension; ++ent) { in guess_content_type()
123 if (!evutil_ascii_strcasecmp(ent->extension, extension)) in guess_content_type()
124 return ent->content_type; in guess_content_type()
131 /* Callback used for the /dump URI, and for every non-GET request:
132 * dumps all information to stdout and gives back a trivial 200 ok */
158 for (header = headers->tqh_first; header; in dump_request_cb()
[all …]
/freebsd-src/contrib/libevent/sample/
H A Dhttp-server.c10 #include "../util-internal.h"
112 /* Try to guess a good content-type for 'path' */
114 guess_content_type(const char *path) in guess_content_type() argument
118 last_period = strrchr(path, '.'); in guess_content_type()
122 for (ent = &content_type_table[0]; ent->extension; ++ent) { in guess_content_type()
123 if (!evutil_ascii_strcasecmp(ent->extension, extension)) in guess_content_type()
124 return ent->content_type; in guess_content_type()
131 /* Callback used for the /dump URI, and for every non-GET request:
132 * dumps all information to stdout and gives back a trivial 200 ok */
158 for (header = headers->tqh_first; header; in dump_request_cb()
[all …]

12345678910>>...43