[Bug 10179] New: massive test failure on OSX 10.8.5 under Homebrew
samba-bugs at samba.org
samba-bugs at samba.org
Wed Oct 2 17:37:20 MDT 2013
https://bugzilla.samba.org/show_bug.cgi?id=10179
Summary: massive test failure on OSX 10.8.5 under Homebrew
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: chdiza at gmail.com
QAContact: rsync-qa at samba.org
Created attachment 9248
--> https://bugzilla.samba.org/attachment.cgi?id=9248
output of "make check"
rsync 3.1.0 builds fine on OSX 10.8.5, unless one installs it using Homebrew
(an OSX package manager). The bug, however, is with rsync. Starting with
3.1.0, if the "scratchbasedir" has a hyphen in the name--- as in
"scratchbase=/private/tmp/-gRfP/rsync-3.1.0/testtmp", which is what I see in
the output of "make check"--- then there will be massive test failure. This
seems to be because the hyphen is being interpreted as starting a flag to the
"cd" command, and the character after the hyphen is being interpreted as the
flag. You can see this for example in this line:
Testing for symlinks using 'test -h'
makepath /private/tmp/-gRfP/rsync-3.1.0/testtmp/backup/from/deep
/private/tmp/-gRfP/rsync-3.1.0/testsuite/rsync.fns: line 197: cd: -g: invalid
option
I've attached the entire output from "make check".
Note that when I tried it again under Homebrew (Homebrew is what's setting the
name of the temp dir), it generated a different random temp dir name
"/private/tmp/-yqG7/rsync-3.1.0/". I got the same test failures, only this
time they complain "cd: -y: invalid option".
This is not Homebrew's fault; that's how they've done temp dir names all along,
and rsync 3.0.9 under Homebrew works fine without any of this test failure.
Something in rsync's (3.1.0) test suite is choking on the hyphen the beings a
dirname.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the rsync
mailing list