The Samba-Bugzilla – Attachment 2178 Details for
Bug 4080
rsync can't find basis dirs with -n and nonexistent destination
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test case for this bug
dry-run-basis.test (text/plain), 829 bytes, created by
Matt McCutchen
on 2006-10-08 16:47:11 UTC
(
hide
)
Description:
Test case for this bug
Filename:
MIME Type:
Creator:
Matt McCutchen
Created:
2006-10-08 16:47:11 UTC
Size:
829 bytes
patch
obsolete
>#! /bin/sh > ># This program is distributable under the terms of the GNU GPL (see ># COPYING). > ># Test that rsync handles --*-dest correctly when the destination directory ># does not exist due to --dry-run. > >. "$suitedir/rsync.fns" >set -x > >fromdir="$scratchdir/from" >todir="$scratchdir/to" >basisdir="$scratchdir/basis" > ># fromdir contains both foo and bar, but basisdir contains only foo >mkdir "$fromdir" >mkdir "$basisdir" >echo "Foo" >"$fromdir/foo" >checkit "$RSYNC -avv \"$fromdir/\" \"$basisdir/\"" "$fromdir" "$basisdir" >echo "Bar" >"$fromdir/bar" > >$RSYNC -a -n -i --compare-dest="../basis/" "$fromdir/" "$todir/" >"$scratchdir/log" > >diff - "$scratchdir/log" <<EOF || test_fail "Rsync itemized the wrong transfers" >cd+++++++ ./ >>f+++++++ bar >EOF > ># The script would have aborted on error, so getting here means we've won. >exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4080
: 2178