Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 28) sorted by relevance

12

/coreutils/tests/help/
Dhelp-version.sh118 comm_setup () { args="$tmp_in $tmp_in"; }
119 csplit_setup () { args="$tmp_in //"; }
120 cut_setup () { args='-f 1'; }
121 join_setup () { args="$tmp_in $tmp_in"; }
122 tr_setup () { args='a a'; }
124 chmod_setup () { args="a+x $tmp_in"; }
126 chgrp_setup () { args=--version; }
127 chown_setup () { args=--version; }
128 mkfifo_setup () { args=--version; }
129 mknod_setup () { args=--version; }
[all …]
/coreutils/tests/stty/
Dstty-row-col.sh72 args=$2
74 test "$args" = empty && args=''
75 test "x$args" = xLAST && break
76 args=$(echo x$args|tr _ ' '|sed 's/^x//')
81 stty $args || exit 1
/coreutils/tests/nice/
Dnice.sh57 args=$2
59 test $args = empty && args=''
60 test x$args = xLAST && break
61 args=$(echo x$args|tr : ' '|sed 's/^x//')
66 test x$(nice $args nice 2> /dev/null) = x$expected_result \
/coreutils/tests/chmod/
Dusage.sh64 args=$(expr "$case" : ' *\(.*[^ ]\) *:')
70 returns_ 1 chmod $args 2>/dev/null || fail=1
74 chmod $args || fail=1
80 returns_ 1 chmod $args 2>/dev/null || fail=1
/coreutils/tests/dd/
Dunblock.pl43 my $args;
47 and $args = $t->[1], next;
49 push @Tests, [$t->[0], @$args, {IN=>$t->[1]}, {OUT=>$t->[2]},
/coreutils/src/
Ddu-tests37 for args in \
53 echo Args: $args ======================
55 <(PATH=$VG_PATH_PREFIX$d1 du $args 2>&1) <(PATH=$d2 du $args 2>&1)
Dsum.h12 bool raw, bool tagged, unsigned char delim, bool args,
17 bool raw, bool tagged, unsigned char delim, bool args,
Dsum.c194 bool raw, bool tagged, unsigned char delim, bool args, in output_bsd() argument
209 if (args) in output_bsd()
219 bool raw, bool tagged, unsigned char delim, bool args, in output_sysv() argument
234 if (args) in output_sysv()
Dexpr.c89 static char **args; variable
336 args = argv + 1; in main()
341 quotearg_n_style (0, locale_quoting_style, *args)); in main()
520 if (*args == nullptr) in nextarg()
524 bool r = STREQ (*args, str); in nextarg()
525 args += r; in nextarg()
535 return *args == 0; in nomoreargs()
546 quotearg_n_style (0, locale_quoting_style, *(args - 1))); in require_more_args()
560 for (a = args; *a; a++)
662 quotearg_n_style (0, locale_quoting_style, *(args - 1))); in eval7()
[all …]
Dcksum.h11 bool tagged, unsigned char delim, bool args, uintmax_t length)
Dcksum.c253 bool tagged, unsigned char delim, bool args, uintmax_t length) in output_crc() argument
265 if (args) in output_crc()
Dsort.c3694 struct thread_args const *args = data; in sortlines_thread() local
3695 sortlines (args->lines, args->nthreads, args->total_lines, in sortlines_thread()
3696 args->node, args->queue, args->tfp, in sortlines_thread()
3697 args->output_temp); in sortlines_thread()
3736 struct thread_args args = {lines, lo_threads, total_lines, in sortlines() local
3740 && pthread_create (&thread, nullptr, sortlines_thread, &args) == 0) in sortlines()
Dstty.c507 va_list args; in wrapf() local
511 va_start (args, message); in wrapf()
512 buflen = vasprintf (&buf, message, args); in wrapf()
513 va_end (args); in wrapf()
Ddigest.c169 bool raw, bool tagged, unsigned char delim, bool args,
1031 bool raw, bool tagged, unsigned char delim, MAYBE_UNUSED bool args, in output_file() argument
/coreutils/tests/
DCoreutils.pm299 my @args;
309 push @args, $io_spec;
424 push @args, $quoted_file;
456 foreach my $a (@args)
461 @args = @new_args;
469 my @cmd = (@prog, @args, "> $actual{OUT}", "2> $actual{ERR}");
605 my @args;
610 and push (@args, $e), next;
621 shift @args; # discard test name
622 push @new, ["$t->[0].r", @args, '<', {IN => $in[0]}, @list_of_hash];
[all …]
Dlocal.mk566 tests/du/deref-args.sh \
587 tests/du/two-args.sh \
/coreutils/tests/test/
Dtest.pl30 my @args;
36 and push (@args, $e), next;
45 shift @args; # discard test name
46 my $flags = join ' ', @args;
/coreutils/tests/touch/
Dobsolescent.sh29 for args in $ones "-- $ones" "$yearstart $ones" "-- $yearstart $ones"; do
30 touch $args || fail=1
/coreutils/tests/uniq/
Duniq.pl43 my @args;
49 and push (@args, $e), next;
72 shift @args; # discard test name
75 grep /z/, @args
78 push @new, ["$t->[0]-z", '-z', @args, @list_of_hash];
/coreutils/tests/du/
Dhard-link.sh38 for args in '-L' 'dir' '-L dir'
41 du -a --exclude=sub $args dir \
Dthreshold.sh114 args="$1"
127 du -B1 $args a > out1 2>&1 || { cat out1 ; rc=1 ; }
/coreutils/tests/mv/
Dpart-symlink.sh59 for args in \
71 case "$args" in *loc_reg*) reg_abs="$(pwd)/$loc_reg" ;; esac
72 case "$args" in *rem_reg*) reg_abs=$rem_reg ;; esac
73 case "$args" in *loc_sl*) slink=$loc_sl ;; esac
74 case "$args" in *rem_sl*) slink=$rem_sl ;; esac
78 actual_args=$(echo $args|sed 's,^,$,;s/ / $/')
86 echo $copy_status $copy $options $args
/coreutils/tests/cp/
Dsame-file.sh47 for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' \
51 case $args$options in
73 case $hard_link_to_symlink_does_the_deref:$args:$options in
88 case "$args" in *symlink*) ln -s foo symlink ;; esac
89 case "$args" in *hardlink*) ln foo hardlink ;; esac
90 case "$args" in *sl1*) ln -s foo sl1;; esac
91 case "$args" in *sl2*) ln -s foo sl2;; esac
92 case "$args" in *hlsl*) ln sl2 hlsl;; esac
96 cp $options $args 2>_err
117 for f in $args; do
/coreutils/tests/cksum/
Dcksum-c.sh24 for args in '-a sha384' '-a blake2b' '-a blake2b -l 384' '-a sm3'; do
25 cksum $args 'input' >> CHECKSUMS || fail=1
/coreutils/tests/env/
Denv-S.pl277 my $args = shift @new_t;
279 "--debug " . $args,

12