aboutsummaryrefslogtreecommitdiff
path: root/tests/rm.test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-03-02 15:10:24 -0600
committerRob Landley <rob@landley.net>2016-03-02 15:10:24 -0600
commiteb830728b12152702c3852d079ad5c8a7f6e709b (patch)
tree23212ca519113c108d914d9cdd17caf4b6f84021 /tests/rm.test
parentb69e1efb2763f99566f451189b5e31f3a05c2e32 (diff)
downloadtoybox-eb830728b12152702c3852d079ad5c8a7f6e709b.tar.gz
Print command name at start of each test.
Diffstat (limited to 'tests/rm.test')
-rwxr-xr-xtests/rm.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rm.test b/tests/rm.test
index 0dca8538..3fe71448 100755
--- a/tests/rm.test
+++ b/tests/rm.test
@@ -8,15 +8,15 @@
#testing "name" "command" "result" "infile" "stdin"
echo "abcdefghijklmnopqrstuvwxyz" > file.txt
-testing "Remove text-file" "rm file.txt && [ ! -e file.txt ] && echo 'yes'" "yes\n" "" ""
+testing "rm text-file" "rm file.txt && [ ! -e file.txt ] && echo 'yes'" "yes\n" "" ""
rm -f file*
mkdir dir
-testing "Remove empty directory" "rm -r dir && [ ! -d dir ] && echo 'yes'" "yes\n" "" ""
+testing "rm empty directory" "rm -r dir && [ ! -d dir ] && echo 'yes'" "yes\n" "" ""
rm -rf dir
echo "abcdefghijklmnopqrstuvwxyz" > file.txt && chmod 000 file.txt
-testing "Remove text file(mode 000)" "rm -f file.txt && [ ! -e file.txt ] && echo 'yes'" \
+testing "rm text file(mode 000)" "rm -f file.txt && [ ! -e file.txt ] && echo 'yes'" \
"yes\n" "" ""
rm -f file*