aboutsummaryrefslogtreecommitdiff
path: root/tests/link.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/link.test
parentb69e1efb2763f99566f451189b5e31f3a05c2e32 (diff)
downloadtoybox-eb830728b12152702c3852d079ad5c8a7f6e709b.tar.gz
Print command name at start of each test.
Diffstat (limited to 'tests/link.test')
-rwxr-xr-xtests/link.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/link.test b/tests/link.test
index 769a7b67..5851129f 100755
--- a/tests/link.test
+++ b/tests/link.test
@@ -12,15 +12,15 @@ testing "link fails on non-existent file" "link foo/foo baz || echo GOOD" "GOOD\
rm -f foo bar
echo file1 > file
-testing "ln create_hardlink" "link file hlink && [ file -ef hlink ] &&
+testing "link create_hardlink" "link file hlink && [ file -ef hlink ] &&
echo 'yes'; rm -rf hlink" "yes\n" "" ""
echo hlink1 > hlink
set +e
-testing "ln preserves_hardlinks" "link file hlink 2>/dev/null || echo 'yes'; rm -rf hlink" \
+testing "link preserves_hardlinks" "link file hlink 2>/dev/null || echo 'yes'; rm -rf hlink" \
"yes\n" "" ""
echo file1 > file
-testing "ln create_hardlink_and_remove_sourcefile" "link file hlink &&
+testing "link create_hardlink_and_remove_sourcefile" "link file hlink &&
[ file -ef hlink ] && rm -rf file && [ -f hlink ] && echo 'yes'; rm -f file hlink" \
"yes\n" "" ""