Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 15 of 15) sorted by relevance

/coreutils/tests/tty/
Dtty-eof.pl67 foreach my $cmd ((@stdin_reading_commands), 'basenc --z85', 'cut -f2',
72 my $cmd_name = (split(' ', $cmd))[0];
74 $exp->spawn("$cmd 2> $stderr")
75 or (warn "$ME: cannot run '$cmd': $!\n"), $fail=1, next;
78 $cmd =~ /^cut/
81 $cmd =~ /^cut/
83 $cmd =~ /^cut/
88 defined $found || $cmd =~ /^cut/
89 or (warn "$ME: $cmd didn't produce expected output\n"),
92 or (warn "$ME: $cmd didn't exit after ^D from standard input\n"),
[all …]
/coreutils/build-aux/
Dgen-single-binary.sh37 for cmd in $ALL_PROGRAMS; do
38 eval "src_${cmd}_SOURCES=src/${cmd}.c"
75 for cmd in $ALL_PROGRAMS; do
76 echo "# Command $cmd"
77 echo noinst_LIBRARIES += src/libsinglebin_${cmd}.a
78 base="src_libsinglebin_${cmd}_a"
80 var=src_${cmd}_SOURCES
85 var=src_${cmd}_LDADD
92 var=src_libsinglebin_${cmd}_a_DEPENDENCIES
95 echo "$var = \$(src_${cmd}_DEPENDENCIES)"
[all …]
/coreutils/tests/rm/
Dfail-eperm.xpl85 my $cmd = "$rm -f -- $target_file";
86 open RM, "$cmd 2>&1 |"
87 or die "$ME: cannot execute '$cmd'\n";
101 die "$ME: unexpected exit status from '$cmd';\n"
108 or die "$ME: unexpected exit status from '$cmd';\n"
115 die "$ME: command '$cmd' died with signal $sig_num\n";
120 or die "$ME: no output from '$cmd';\n"
130 or die "$ME: unexpected diagnostic from '$cmd';\n"
/coreutils/tests/timeout/
Dtimeout-group.sh35 printf '%s\n' '#!'"$SHELL" > timeout.cmd || framework_failure_
36 cat >> timeout.cmd <<\EOF
45 chmod a+x timeout.cmd
50 timeout --foreground 25 ./timeout.cmd 20&
88 timeout -sALRM 30 timeout -sINT 25 ./timeout.cmd 20 & pid=$!
/coreutils/tests/cp/
Dperm.sh32 for cmd in mv 'cp -p' cp; do
45 $cmd $force src dest || exit 1
46 test "$cmd" = mv && test -f src && exit 1
47 test "$cmd" = cp && { test -f src || exit 1; }
50 case "$cmd:$force:$existing_dest" in
/coreutils/tests/mkdir/
Dsmack-root.sh29 for cmd in 'mkdir dir' 'mknod b p' 'mkfifo f'; do
30 $cmd --context="$c" || { fail=1; continue; }
31 set $cmd
Dsmack-no-root.sh29 for cmd in 'mkdir dir' 'mknod b p' 'mkfifo f'; do
30 $cmd --context="$c" 2> out && fail=1
31 set $cmd
Dselinux.sh36 set $cmd_w_arg; cmd=$1
37 echo "$cmd: $msg" > exp || framework_failure_
/coreutils/tests/mv/
Dtrailing-slash.sh31 for cmd in mv 'cp -r'; do
36 $cmd $opt d e/ || fail=1
37 if test "$cmd" = mv; then
/coreutils/src/
Dnohup.c215 char **cmd = argv + optind; in main() local
216 execvp (*cmd, cmd); in main()
227 error (0, saved_errno, _("failed to run command %s"), quoteaf (*cmd)); in main()
Ddircolors.hin94 #.cmd 01;32 # executables (bright green)
/coreutils/tests/
DCoreutils.pm469 my @cmd = (@prog, @args, "> $actual{OUT}", "2> $actual{ERR}");
471 and unshift @cmd, $env_prefix;
473 and unshift @cmd, $input_pipe_cmd;
474 my $cmd_str = join (' ', @cmd);
/coreutils/tests/ln/
Dmisc.sh109 for cmd in ln cp mv ginstall; do
112 $cmd --backup=simple --suffix=.orig x a || fail=1
/coreutils/
Dbootstrap847 cmd=$(printf "$po_download_command_format" "$subdir" "$domain")
848 eval "$cmd"
/coreutils/doc/
Dcoreutils.texi687 @macro mayConflictWithShellBuiltIn{cmd}
690 Due to shell aliases and built-in @command{\cmd\} functions, using an
691 unadorned @command{\cmd\} interactively or in a script may get you
693 @command{env} (i.e., @code{env \cmd\ @dots{}}) to avoid interference
3909 @macro filesZeroFromOption{cmd,withTotalOption,subListOutput}
3914 @c @cindex including files from @command{\cmd\}
3921 In such cases, running @command{\cmd\} via @command{xargs} is undesirable
3922 because it splits the list into pieces and makes @command{\cmd\} print
5547 @macro checkOrderOption{cmd}
5559 If an input file is diagnosed as being unsorted, the @command{\cmd\}
[all …]