Home
last modified time | relevance | path

Searched refs:rm (Results 1 – 25 of 181) sorted by relevance

12345678

/coreutils/tests/rm/
Drm3.sh20 print_ver_ rm
47 rm -ir z < in > out 2>&1 || fail=1
58 rm: descend into directory 'z'
59 rm: remove regular empty file 'z/empty'
60 rm: remove write-protected regular file 'z/fu'
61 rm: remove write-protected regular empty file 'z/empty-u'
62 rm: remove symbolic link 'z/slink'
63 rm: remove symbolic link 'z/slinkdot'
64 rm: remove directory 'z/d'
65 rm: remove write-protected directory 'z/du'
[all …]
Dinteractive-once.sh20 print_ver_ rm
27 rm -f out err || framework_failure_
34 rm -I file1-* < in-n >> out 2>> err || fail=1
47 rm ---presume-input-tty -I file1-* < in-n >> out 2>> err || fail=1
57 rm -I file2-* < in-n >> out 2>> err || fail=1
64 rm -I file3-* < in-n >> out 2>> err || fail=1
72 rm -I file3-* < in-y >> out 2>> err || fail=1
89 cat in-y in-n | rm ---presume-input-tty -I file3-* >> out 2>> err || fail=1
102 rm -I -R dir1-* < in-n >> out 2>> err || fail=1
107 rm -I -R dir1-* < in-y >> out 2>> err || fail=1
[all …]
Dinteractive-always.sh20 print_ver_ rm
27 rm -f out err || framework_failure_
34 rm -R --interactive file1-* < in >> out 2>> err || fail=1
40 rm -R --interactive=never file2-* < in >> out 2>> err || fail=1
46 rm -R --interactive=once file3-* < in >> out 2>> err || fail=1
52 rm -R --interactive=always file4-* < in >> out 2>> err || fail=1
58 rm -R --interactive=once -f file1-* < in >> out 2>> err || fail=1
63 rm -R -f --interactive=once file4-* < in >> out 2>> err || fail=1
73 rm: remove 2 arguments recursively? .
79 rm: remove 1 argument recursively? .
Dempty-inacc.sh20 print_ver_ rm
30 rm -rf inacc || fail=1
34 rm -rf a || fail=1
42 rm -d unreadable2 < /dev/null || fail=1
44 rm -d inacc2 < /dev/null || fail=1
50 echo n | rm ---presume-input-tty -di inacc3 > out 2>&1 || fail=1
56 echo y | rm ---presume-input-tty -di inacc3 > out 2>&1 || fail=1
Drm5.sh20 print_ver_ rm
31 rm: descend into directory 'd'
32 rm: remove directory 'd/e'
33 rm: remove directory 'd'
37 rm -ir d < in > out 2>&1 || fail=1
Drm2.sh20 print_ver_ rm
32 rm -rf a b > out 2>&1 && fail=1
34 rm: cannot remove 'a/1': Permission denied
35 rm: cannot remove 'b': Permission denied
39 rm: cannot remove 'a/1/2': Permission denied
40 rm: cannot remove 'b/3': Permission denied
Dfail-eacces.sh23 print_ver_ rm
41 rm -rf d/f 2> out && fail=1
43 rm: cannot remove 'd/f': Permission denied
48 rm -rf e 2> out && fail=1
50 rm: cannot remove 'e/slink': Permission denied
Dcycle.sh20 print_ver_ rm
28 rm -rf a a 2>&1 | sed 's/:[^:]*$//' > out || fail=1
30 rm: cannot remove 'a/b/file'
31 rm: cannot remove 'a/b/file'
Ddir-no-w.sh21 print_ver_ rm
27 rm ---presume-input-tty unwritable-dir < /dev/null > out-t 2>&1 && fail=1
29 rm: cannot remove 'unwritable-dir': Is a directory
38 rm -f out-t
Di-1.sh20 print_ver_ rm
30 rm -i $t/a < $t/in-n > /dev/null 2>&1 || fail=1
34 rm -i $t/a < $t/in-y > /dev/null 2>&1 || fail=1
38 rm -rf $t
Drm-readdir-fail.sh21 print_ver_ rm
98 rm -f preloaded
100 returns_ 1 rm -Rf dir 2>>errt) || fail=1
114 rm: cannot remove 'dir'
116 rm: traversal failed: dir
Dempty-immutable-skip.sh21 print_ver_ rm
29 rm f 2>/dev/null
32 rm f 2>/dev/null || chattr_i_works=0
42 rm -rf empty x y
Dfail-2eperm.sh21 print_ver_ rm
36 rm --version |
44 env PATH="$PATH" rm -rf a 2> out-t && fail=1
52 rm: cannot remove 'a/b': Operation not permitted
Drm1.sh20 print_ver_ rm
28 rm -rf b > out 2>&1 && fail=1
30 rm: cannot remove directory 'b/a/p': Permission denied
36 rm: cannot remove 'b/a/p': Permission denied
Dfail-eperm.xpl43 my $rm = "$ENV{abs_top_builddir}/src/rm";
46 $rm =~ m!^([-+\@\w./]+)$!
48 $rm = $1;
85 my $cmd = "$rm -f -- $target_file";
126 $line =~ s,^\Q$rm\E:,rm:,;
Ddir-nonrecur.sh21 print_ver_ rm
26 rm d 2> out && fail=1
28 rm: cannot remove 'd': Is a directory
Dunread2.sh20 print_ver_ rm
28 rm -rf a > out 2>&1 && fail=1
30 rm: cannot remove 'a': Permission denied
Done-file-system.sh20 print_ver_ rm
29 rm -rf "$other_partition_tmpdir"
39 rm: skipping 'a/b', since it's on a different device
Dunread3.sh20 print_ver_ rm
31 rm -r "$t/a" "$t/b" || fail=1
36 rm -r "$t/d" "$t/e" || fail=1
Dinaccessible.sh21 print_ver_ rm
33 (cd no-access; chmod 0 . && rm -r "$p/abs1" rel "$p/abs2") 2> out && fail=1
38 rm: cannot remove 'rel': Permission denied
Disatty.sh20 print_ver_ rm
33 rm ---presume-input-tty f > out 2>&1 & pid=$!
47 rm: remove write-protected regular empty file 'f'? x
Dmany-dir-entries-vs-OOM.sh21 print_ver_ rm du chmod
43 vm=$(get_min_ulimit_v_ rm -rf d2) \
45 (ulimit -v $(($vm + 35000)) && rm -rf d) || fail=1
/coreutils/tests/ln/
Dmisc.sh30 rm -f $t || framework_failure_
33 rm $t $f
37 rm -rf $d || framework_failure_
41 rm -rf $d $f
45 rm -rf $d || framework_failure_
49 rm -rf $d $f
53 rm -rf $d || framework_failure_
57 rm -rf $d $f
64 rm $t
69 rm $t
[all …]
/coreutils/tests/csplit/
Dcsplit.sh32 rm -f in out exp
39 rm -f in out exp
49 rm -f in out exp
64 rm -f in out exp err experr
79 rm -f in out exp err experr xx*
98 rm -f in out exp err experr xx??
/coreutils/lib/
Dt-chdir-long69 rm -rf $TMPDIR/zz*
71 (pwd|tr -d '\n'; sed 's/^\.//' in) > k; rm -f in; mv k in
75 && rm -f diff in out
79 rm -f a.out

12345678