Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 126) sorted by relevance

123456

/coreutils/tests/rm/
Di-1.sh22 t=t
23 mkdir -p $t || framework_failure_
24 echo > $t/a || framework_failure_
25 test -f $t/a || framework_failure_
27 echo y > $t/in-y
28 echo n > $t/in-n
30 rm -i $t/a < $t/in-n > /dev/null 2>&1 || fail=1
32 test -f $t/a || fail=1
34 rm -i $t/a < $t/in-y > /dev/null 2>&1 || fail=1
36 test -f $t/a && fail=1
[all …]
Dir-1.sh22 t=t
23 mkdir -p $t $t/a $t/b $t/c || framework_failure_
24 > $t/a/a || framework_failure_
25 > $t/b/bb || framework_failure_
26 > $t/c/cc || framework_failure_
45 rm --verbose -i -r $t < in > /dev/null 2>&1 || fail=1
48 test -d $t || fail=1
51 case $(echo $t/*) in
52 $t/[abc]) ;;
Dr-2.sh22 mkdir t t/a t/a/b || framework_failure_
23 > t/a/f || framework_failure_
24 > t/a/b/g || framework_failure_
27 cat <<\EOF | sort > t/E || framework_failure_
36 rm --verbose -r t/a | sort > t/O || fail=1
38 if test -d t/a; then
43 cmp t/E t/O || fail=1
Dunread3.sh26 t=$(pwd)
31 rm -r "$t/a" "$t/b" || fail=1
36 rm -r "$t/d" "$t/e" || fail=1
38 test -d "$t/a" && fail=1
39 test -d "$t/b" && fail=1
40 test -d "$t/d" && fail=1
41 test -d "$t/e" && fail=1
Ddeep-1.sh40 t=t
42 deep=$t$k_deep
48 rm -r $t || fail=1
51 test -d $t && fail=1
Dr-3.sh29 mkdir t || framework_failure_
30 cd t || framework_failure_
35 for j in a b c d e f g h i j k l m n o p q r s t u v w x y; do
45 rm -rf t || fail=1
46 test -d t && fail=1
/coreutils/tests/cp/
Dpreserve-link.sh52 rm -Rf t
53 mkdir -p t/s/ || framework_failure_
56 touch t/s/$f || framework_failure_
59 ln t/s/$f t/s/linke || framework_failure_
62 touch -d '-1 hour' t/s/fileo || framework_failure_
65 touch -d '+1 hour' t/s/fileu || framework_failure_
84 cp -au s t || fail=1
86 same_inode t/s/f t/s/linkm || fail=1
87 same_inode t/s/f t/s/linke || fail=1
88 same_inode t/s/f t/s/fileo || fail=1
[all …]
/coreutils/tests/du/
Dtwo-args.sh29 t=t
30 mkdir -p $t/1 $t/2 || framework_failure_
32 test -d $t || fail=1
33 du $t/1 $t/2 > /dev/null || fail=1
37 du . $t > /dev/null || fail=1
38 du .. $t > /dev/null || fail=1
Dno-x.sh39 sed "s/^$prog: cannot access /$prog: /" out > t && mv t out
40 sed "s/^$prog: cannot read directory /$prog: /" out > t && mv t out
41 sed 's,d/no-x/y,d/no-x,' out > t && mv t out
Dinacc-dest.sh27 du > ../t 2>&1 && fail=1
35 sed 's/^[0-9][0-9]* //' ../t | sort -u > out
51 sed "s,/c/j': ,/c': ," out > t && mv t out
52 sed 's,cannot access,cannot read directory,' out > t && mv t out
/coreutils/tests/dd/
Dunblock.pl27 my @t =
44 foreach my $t (@t)
46 $t->[0] eq ''
47 and $args = $t->[1], next;
49 push @Tests, [$t->[0], @$args, {IN=>$t->[1]}, {OUT=>$t->[2]},
/coreutils/tests/ls/
Dstat-vs-dirent.sh24 t=$(pwd)
26 if ls -i1 "$t" > tmp; then
35 st_ino=$(stat --format=%i "$t/$file") ||
36 skip_ "error stating: $t/$file" # removed or newlines in name etc.
45 echo "$0: test failed: $t/$file: d_ino($d_ino) != st_ino($st_ino)
55 t=$(cd "$t/.."; pwd)
56 dev_ino=$(stat --format=%d-%i "$t")
Dhyperlink.sh45 ls_encoded "testdir" > ../exp.t || framework_failure_
48 ls_encoded "$f" >> ../exp.t || framework_failure_
52 (cat exp.t && printf '\n' && sed 's/[^\/]testdir/&l/' exp.t) > exp \
54 ls --hyper testdir testdirl >out.t || fail=1
55 strip_host_and_path <out.t >out || framework_failure_
59 ls -l --hyper testlink > out.t || fail=1
60 strip_host_and_path <out.t >out || framework_failure_
/coreutils/tests/ln/
Dmisc.sh22 t=tln-symlink
30 rm -f $t || framework_failure_
31 ln -s $f $t || fail=1
32 test -f $t || fail=1
33 rm $t $f
39 ln -s ../$f $d/$t || fail=1
40 test -f $d/$t || fail=1
60 touch $t || framework_failure_
63 returns_ 1 ln -s $t $t 2> /dev/null || fail=1
64 rm $t
[all …]
/coreutils/lib/
Dt-chdir-long57 for t in . /t /tmp /var/tmp; do
58 test -d $t || continue
59 printf "$t\n"
60 export TMPDIR=$t
62 printf "$t\t$i\n"
65 tt=`echo $t|tr / -`
74 || { echo FAIL $t:$i; cut -b 1-35 diff; } \
/coreutils/tests/test/
Dtest.pl29 my ($t) = @_;
33 foreach my $e (@$t)
38 or (warn "$0: $t->[0]: unexpected entry type\n"), next;
63 foreach my $t (@$tests)
65 push @new, $t;
67 my $test_name = $t->[0];
68 my ($flags, $ret, $LoH) = digest_test $t;
98 foreach my $t (@$tests)
100 push @new, $t;
102 my $test_name = $t->[0];
[all …]
/coreutils/tests/chgrp/
Dno-x.sh45 sed "s/^$prog: cannot access /$prog: /" out > t && mv t out
46 sed "s/^$prog: cannot read directory /$prog: /" out > t && mv t out
47 sed 's,d/no-x/y,d/no-x,' out > t && mv t out
/coreutils/tests/chmod/
Dno-x.sh39 sed "s/^$prog: cannot access /$prog: /" out > t && mv t out
40 sed "s/^$prog: cannot read directory /$prog: /" out > t && mv t out
41 sed 's,d/no-x/y,d/no-x,' out > t && mv t out
/coreutils/
Ddist-check.mk9 t=$(tmpdir)/$(PACKAGE)/test
10 pfx=$(t)/i
110 -rm -rf $(t)
111 mkdir -p $(t)
112 $(amtar_extract_) $(preferred_tarball_) -C $(t)
113 (set -e; cd $(t)/$(distdir); \
121 (cd $(t) && mv $(distdir) $(distdir).old \
126 find $(t)/$(distdir).old $(t)/$(distdir) -name .deps | xargs -r rmdir
127 diff -ur $(t)/$(distdir).old $(t)/$(distdir)
128 -rm -rf $(t)
/coreutils/tests/expr/
Dexpr-multibyte.pl184 my $t;
185 foreach $t (@Tests)
187 my $arg1 = $t->[1];
189 foreach $e (@$t)
210 foreach my $t (@Tests)
212 my ($tname) = @$t;
215 push @$t, ({ENV => "LC_ALL=$locale"},
/coreutils/tests/basenc/
Dbase64.pl139 foreach my $t (@Tests)
146 !ref $t->[1] && $t->[1] eq '--decode'
149 foreach my $e (@$t)
159 my $t = $e->{OUT};
160 push @out, $t;
161 my $len = length $t;
164 my $u = $t;
178 push @new, ["d$i-$t->[0]", '--decode', {IN => $o}, {OUT => $in}];
199 (my $t = $a3k) =~ s/^/"\n"x $k/e;
200 push @a3k_nl, $t;
/coreutils/tests/cksum/
Dsha224sum.pl38 my $t;
39 foreach $t (@Tests)
41 splice @$t, 1, 0, '--text' unless @$t[1] =~ /--check/;
Dsha512sum.pl44 my $t;
45 foreach $t (@Tests)
47 splice @$t, 1, 0, '--text' unless @$t[1] =~ /--check/;
/coreutils/tests/touch/
Ddangling-symlink.sh23 rm -f touch-target t-symlink
24 ln -s touch-target t-symlink
27 touch t-symlink || fail=1
30 rm -f touch-target t-symlink
/coreutils/tests/head/
Dhead-elide-tail.pl73 my $t = ["elideb$file_size-$n_elide", "--bytes=-$n_elide",
75 push @Tests, $t;
76 my @u = @$t;
93 my $t = ["elidel$file_size-$n_elide", "--lines=-$n_elide",
95 push @Tests, $t;
96 my @u = @$t;

123456