Lines Matching full:rm
11 testing "text-file" "rm file.txt && [ ! -e file.txt ] && echo 'yes'" "yes\n" "" ""
12 rm -f file*
15 testing "empty directory" "rm -r dir && [ ! -d dir ] && echo 'yes'" "yes\n" "" ""
16 rm -rf dir
19 testing "text file(mode 000)" "rm -f file.txt && [ ! -e file.txt ] && echo 'yes'" \
21 rm -f file*
26 "rm -r file1.txt file2.txt dir1 dir2 2>/dev/null &&
29 rm -rf file* dir*
34 "rm -rf file1.txt file2.txt file3.txt dir1 dir2 dir3 2>/dev/null &&
37 rm -rf file* dir*
42 testing "-r nested_dir" "rm -r dir1/dir2/ 2>/dev/null &&
45 rm -rf dir*
49 "rm -rf one 2>/dev/null && [ ! -e one ] && echo yes" "yes\n" "" ""
50 chmod 777 one 2>/dev/null ; rm -rf one
55 "rm -rv d1 | sort" "rm 'd1/f1.txt'\nrm 'd1/f2.txt'\nrmdir 'd1'\n" "" ""
56 rm -rf d1
59 testing "-v \\'" "rm -v \\'" "rm '''\n" "" "" # TODO: coreutils escapes quote
60 rm -f \'