2 # Try to create a symlink with backup where the destination file exists
3 # and the backup file name is a hard link to the destination file.
4 # Based on a problem report from Jamie Lokier.
6 if test "$VERBOSE" = yes; then
11 trap "rm -rf a b b~" 0 1 2 3 15
14 touch a b || framework_failure
=1
16 if test $framework_failure = 1; then
17 echo 'failure in testing framework'
22 ln -f --b=simple a b || fail
=1