samba-bugs at samba.org
2013-Oct-02 23:37 UTC
[Bug 10179] New: massive test failure on OSX 10.8.5 under Homebrew
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.
samba-bugs at samba.org
2013-Oct-03 02:54 UTC
[Bug 10179] massive test failure on OSX 10.8.5 under Homebrew
https://bugzilla.samba.org/show_bug.cgi?id=10179 --- Comment #1 from chdiza at gmail.com 2013-10-03 02:54:49 UTC --- I apologize: it turns out that it IS homebrew's fault, and they just fixed it. The reason it always worked before is because they used to not have temp dirs that start with hyphens; that only happened very recently. It's probably a good idea to be able to handle such weird names anyway. So this is now a suggestion rather than a bug report. Again, apologies. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2013-Oct-27 17:02 UTC
[Bug 10179] massive test failure on OSX 10.8.5 under Homebrew
https://bugzilla.samba.org/show_bug.cgi?id=10179 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Seemingly Similar Threads
- [Bug 13044] New: On macOS 10.12.6 with the new Xcode 9, `make check` is full of failures
- [Bug 10724] New: rsync 3.1.1 incorrectly creates extra dirs inside --backup-dir on Mac OSX
- test failed with acl patch
- rsync-3.0.6 regression test problems
- rsync-2.5.5rc1: two problems on Apple Darwin (== MacOS X)