Skip to content

Commit dc34990

Browse files
Rodrigo OSORIOtridge
Rodrigo OSORIO
authored andcommitted
Test send a single directory with -H enabled
Ensure this still working after 3.4.0 breakage RsyncProject#702
1 parent 81ead9e commit dc34990

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

testsuite/hardlinks.test

+6
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,11 @@ rm -rf "$todir"
7777
$RSYNC -aHivv --debug=HLINK5 "$name1" "$todir/"
7878
diff $diffopt "$name1" "$todir" || test_fail "solo copy of name1 failed"
7979

80+
# Make sure there's nothing wrong with sending a single directory with -H
81+
# enabled (this has broken in 3.4.0 so far, so we need this test).
82+
rm -rf "$fromdir" "$todir"
83+
makepath "$fromdir/sym" "$todir"
84+
checkit "$RSYNC -aH '$fromdir/sym' '$todir'" "$fromdir" "$todir"
85+
8086
# The script would have aborted on error, so getting here means we've won.
8187
exit 0

0 commit comments

Comments
 (0)