diff options
author | Rob Landley <rob@landley.net> | 2016-03-02 15:10:24 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-03-02 15:10:24 -0600 |
commit | eb830728b12152702c3852d079ad5c8a7f6e709b (patch) | |
tree | 23212ca519113c108d914d9cdd17caf4b6f84021 /tests/rm.test | |
parent | b69e1efb2763f99566f451189b5e31f3a05c2e32 (diff) | |
download | toybox-eb830728b12152702c3852d079ad5c8a7f6e709b.tar.gz |
Print command name at start of each test.
Diffstat (limited to 'tests/rm.test')
-rwxr-xr-x | tests/rm.test | 6 |
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* |