Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 52) sorted by relevance

123

/coreutils/tests/readlink/
Dcan-m.sh24 tmp=d
26 mkdir $tmp || framework_failure_
27 cd $tmp || framework_failure_
37 cd "$pwd/$tmp/removed" || framework_failure_
45 cd "$pwd/$tmp" || fail=1
47 for p in "" "$pwd/$tmp/"; do
50 test "$v" = "$my_pwd/$tmp/regfile" || fail=1
53 test "$v" = "$my_pwd/$tmp/regfile" || fail=1
56 test "$v" = "$my_pwd/$tmp/regfile/more" || fail=1
59 test "$v" = "$my_pwd/$tmp/regfile/more" || fail=1
[all …]
Dcan-f.sh24 tmp=d
26 mkdir $tmp || framework_failure_
27 cd $tmp || framework_failure_
38 cd "$pwd/$tmp/removed" || framework_failure_
46 cd "$pwd/$tmp" || fail=1
48 for p in "" "$pwd/$tmp/"; do
51 test "$v" = "$my_pwd/$tmp/regfile" || fail=1
63 test "$v" = "$my_pwd/$tmp/subdir" || fail=1
66 test "$v" = "$my_pwd/$tmp/subdir" || fail=1
69 test "$v" = "$my_pwd/$tmp/subdir/more" || fail=1
[all …]
Dcan-e.sh24 tmp=d
26 mkdir $tmp || framework_failure_
27 cd $tmp || framework_failure_
37 cd "$pwd/$tmp/removed" || framework_failure_
45 cd "$pwd/$tmp" || fail=1
47 for p in "" "$pwd/$tmp/"; do
50 test "$v" = "$my_pwd/$tmp/regfile" || fail=1
56 test "$v" = "$my_pwd/$tmp/subdir" || fail=1
59 test "$v" = "$my_pwd/$tmp/subdir" || fail=1
68 test "$v" = "$my_pwd/$tmp/regfile" || fail=1
[all …]
/coreutils/tests/mkdir/
Dspecial-1.sh25 tmp=t
26 mkdir -m$set_mode_string $tmp || fail=1
28 test -d $tmp || fail=1
29 mode=$(ls -ld $tmp|cut -b-10)
35 rmdir $tmp || fail=1
36 tmp2=$tmp/sub
Dwritable-under-readonly.sh37 cd /tmp \
49 umount /tmp/2
50 umount /tmp/1
/coreutils/tests/cksum/
Dmd5sum-parallel.sh26 (mkdir tmp && cd tmp && seq 500 | xargs touch)
31 (find tmp tmp tmp -type f | xargs -n500 -P2 md5sum 2>err) |
Db2sum.sh53 $prog $tag_opt --length=128 check.vals > out.tmp || fail=1
54 tr '*' ' ' < out.tmp > out || framework_failure_ # Remove binary tag on cygwin
/coreutils/tests/wc/
Dwc-parallel.sh26 (mkdir tmp && cd tmp && seq 2000 | xargs touch)
31 (find tmp tmp tmp -type f | xargs -n2000 -P2 wc 2>err) |
/coreutils/src/
Dhead.c510 LBUFFER *first, *last, *tmp; in elide_tail_lines_pipe() local
518 tmp = xmalloc (sizeof (LBUFFER)); in elide_tail_lines_pipe()
525 n_read = safe_read (fd, tmp->buffer, BUFSIZ); in elide_tail_lines_pipe()
532 xwrite_stdout (tmp->buffer, n_read); in elide_tail_lines_pipe()
536 tmp->nbytes = n_read; in elide_tail_lines_pipe()
537 tmp->nlines = 0; in elide_tail_lines_pipe()
538 tmp->next = nullptr; in elide_tail_lines_pipe()
542 char *buffer_end = tmp->buffer + n_read; in elide_tail_lines_pipe()
544 char const *p = tmp->buffer; in elide_tail_lines_pipe()
548 ++tmp->nlines; in elide_tail_lines_pipe()
[all …]
Dtail.c616 LBUFFER *first, *last, *tmp; in pipe_lines() local
624 tmp = xmalloc (sizeof (LBUFFER)); in pipe_lines()
629 n_read = safe_read (fd, tmp->buffer, BUFSIZ); in pipe_lines()
632 tmp->nbytes = n_read; in pipe_lines()
634 tmp->nlines = 0; in pipe_lines()
635 tmp->next = nullptr; in pipe_lines()
639 char const *buffer_end = tmp->buffer + n_read; in pipe_lines()
640 char const *p = tmp->buffer; in pipe_lines()
644 ++tmp->nlines; in pipe_lines()
647 total_lines += tmp->nlines; in pipe_lines()
[all …]
Dchroot.c101 char const *tmp; in parse_additional_groups() local
104 for (tmp = strtok (buffer, ","); tmp; tmp = strtok (nullptr, ",")) in parse_additional_groups()
109 if (xstrtoumax (tmp, nullptr, 10, &value, "") == LONGINT_OK in parse_additional_groups()
112 while (isspace (to_uchar (*tmp))) in parse_additional_groups()
113 tmp++; in parse_additional_groups()
114 if (*tmp != '+') in parse_additional_groups()
117 g = getgrnam (tmp); in parse_additional_groups()
126 g = getgrnam (tmp); in parse_additional_groups()
137 error (0, errno, _("invalid group %s"), quote (tmp)); in parse_additional_groups()
Dchgrp.c88 uintmax_t tmp; in parse_group() local
89 if (! (xstrtoumax (name, nullptr, 10, &tmp, "") == LONGINT_OK in parse_group()
90 && tmp <= GID_T_MAX)) in parse_group()
93 gid = tmp; in parse_group()
Dnice.c170 long int tmp; in main() local
171 if (LONGINT_OVERFLOW < xstrtol (adjustment_given, nullptr, 10, &tmp, "")) in main()
174 adjustment = MAX (MIN_ADJUSTMENT, MIN (tmp, MAX_ADJUSTMENT)); in main()
Dtr.c592 char const *tmp = nullptr; in make_printable_str() local
598 tmp = "\\"; in make_printable_str()
601 tmp = "\\a"; in make_printable_str()
604 tmp = "\\b"; in make_printable_str()
607 tmp = "\\f"; in make_printable_str()
610 tmp = "\\n"; in make_printable_str()
613 tmp = "\\r"; in make_printable_str()
616 tmp = "\\t"; in make_printable_str()
619 tmp = "\\v"; in make_printable_str()
629 tmp = buf; in make_printable_str()
[all …]
Dtac-pipe.c177 Line_ptr tmp; in find_bol() local
183 tmp = line_ptr_decrement (x, last_bol); in find_bol()
184 last_bol_ptr = tmp.ptr; in find_bol()
185 i = tmp.i; in find_bol()
/coreutils/tests/ls/
Dstat-vs-dirent.sh26 if ls -i1 "$t" > tmp; then
29 d_ino=$(sed -n '1s/^ *\([0-9][0-9]*\) .*/\1/p;q' tmp)
32 file=$(sed -n '1s/^ *[0-9][0-9]* //p;q' tmp)
Dstat-free-symlinks.sh58 strace -qe $stats -o log2 ls -F --color=always x link-to-x > out.tmp || fail=1
73 sed '/Process PID=/d' out.tmp > out
/coreutils/lib/
Dt-chdir-long36 local root=${TMPDIR=/tmp}
57 for t in . /t /tmp /var/tmp; do
/coreutils/gl/lib/
Dstrnumcmp-in.h119 int tmp; in numcompare() local
162 tmp = tmpb - tmpa; in numcompare()
180 return tmp; in numcompare()
222 tmp = tmpa - tmpb; in numcompare()
240 return tmp; in numcompare()
/coreutils/tests/tail/
Dbig-4gb.sh29 echo 87654321 | tr -d '\n' > tmp || framework_failure_
31 dd bs=1 seek=4294967288 if=tmp of=big 2> err || dd_failed=1
/coreutils/tests/misc/
Dnl.sh45 nl -ha -fa in.txt > out.tmp || fail=1
46 nl -p -ha -fa in.txt >> out.tmp || fail=1
47 sed '/^$/d' < out.tmp > out || framework_failure_
/coreutils/tests/du/
Dinodes.sh74 du --inodes -a d > out.tmp 2>err || fail=1
75 sed 's/h$/f/' out.tmp | sort >out || framework_failure_
82 du --inodes -al d > out.tmp 2>err || fail=1
83 sort <out.tmp >out || framework_failure_
/coreutils/tests/uniq/
Duniq.pl53 my $tmp = $e;
65 $tmp = {$k => $val};
69 push @list_of_hash, $tmp;
/coreutils/tests/help/
Dhelp-version.sh110 tmp=tmp-$$
115 mkdir $tmp || fail=1
116 cd $tmp || fail=1
/coreutils/tests/id/
Dzero.sh56 id -${o}${n}z $u > tmp ||
58 head -c-1 < tmp >> out || framework_failure_

123