Skip to content

Commit

Permalink
Test send a single directory with -H enabled
Browse files Browse the repository at this point in the history
Ensure this still working after 3.4.0 breakage

#702
  • Loading branch information
Rodrigo OSORIO committed Jan 15, 2025
1 parent dacadd5 commit b6c0566
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testsuite/hardlinks.test
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,10 @@ rm -rf "$todir"
$RSYNC -aHivv --debug=HLINK5 "$name1" "$todir/"
diff $diffopt "$name1" "$todir" || test_fail "solo copy of name1 failed"

# Make sure there's nothing wrong with sending a single directory with -H
# enabled (this has broken in 3.4.0 so far, so we need this test).
makepath "$fromdir/sym" "$todir" "$fromdir" "$todir"
checkit "$RSYNC -aH '$fromdir/sym' '$todir'"

# The script would have aborted on error, so getting here means we've won.
exit 0

0 comments on commit b6c0566

Please sign in to comment.