Diff for /embedaddon/rsync/testsuite/hardlinks.test between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2013/10/14 07:51:15 version 1.1.1.3, 2016/11/01 09:54:32
Line 29  name3="$fromdir/name3" Line 29  name3="$fromdir/name3"
 name4="$fromdir/name4"  name4="$fromdir/name4"
 echo "This is the file" > "$name1"  echo "This is the file" > "$name1"
 ln "$name1" "$name2" || test_skipped "Can't create hardlink"  ln "$name1" "$name2" || test_skipped "Can't create hardlink"
ln "$name2" "$name3" || fail "Can't create hardlink"ln "$name2" "$name3" || test_fail "Can't create hardlink"
cp "$name2" "$name4" || fail "Can't copy file"cp "$name2" "$name4" || test_fail "Can't copy file"
 cat $srcdir/*.c >"$fromdir/text"  cat $srcdir/*.c >"$fromdir/text"
   
 checkit "$RSYNC -aHivv --debug=HLINK5 '$fromdir/' '$todir/'" "$fromdir" "$todir"  checkit "$RSYNC -aHivv --debug=HLINK5 '$fromdir/' '$todir/'" "$fromdir" "$todir"
Line 67  checkit "$RSYNC -aHivv --debug=HLINK5 --copy-dest='$to Line 67  checkit "$RSYNC -aHivv --debug=HLINK5 --copy-dest='$to
   
 # Create a hard link that has only one part in the hierarchy.  # Create a hard link that has only one part in the hierarchy.
 echo "This is another file" >"$fromdir/solo"  echo "This is another file" >"$fromdir/solo"
ln "$fromdir/solo" "$chkdir/solo" || fail "Can't create hardlink"ln "$fromdir/solo" "$chkdir/solo" || test_fail "Can't create hardlink"
   
 # Make sure that the checksum data doesn't slide due to an HLINK_BUMP() change.  # Make sure that the checksum data doesn't slide due to an HLINK_BUMP() change.
 $RSYNC -aHivc --debug=HLINK5 "$fromdir/" "$chkdir/" | tee "$outfile"  $RSYNC -aHivc --debug=HLINK5 "$fromdir/" "$chkdir/" | tee "$outfile"

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>