From 80eec18020f531abbdb2abbb919ab6c6fa34107c Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 6 Sep 2017 22:05:04 -0400 Subject: tests: Test hardlinks to symlinks --- tests.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 5729bb7..620bc2a 100755 --- a/tests.sh +++ b/tests.sh @@ -75,7 +75,9 @@ function make_links() { touchp "$1/file" ln -s file "$1/symlink" ln "$1/file" "$1/hardlink" + ln -P "$1/symlink" "$1/hardsymlink" ln -s nowhere "$1/broken" + ln -P "$1/broken" "$1/hardbroken" ln -s symlink/file "$1/notdir" ln -s loop "$1/loop" mkdir -p "$1/deeply/nested/dir" -- cgit v1.2.3