test-mq on FreeBSD

Adrian Buehlmann adrian at cadifra.com
Wed May 28 09:05:18 CDT 2008


On 28.05.2008 15:22, Maxim Dounin wrote:
> Hello!
> 
> On Wed, May 28, 2008 at 02:59:02PM +0200, Adrian Buehlmann wrote:
> 
>> Just a minor point. When running the testsuite on FreeBSD 6.2, I always get:
>>
>> ERROR: test-mq output changed
>> --- Expected output
>> +++ Test output
>> @@ -499,7 +499,7 @@
>> abort: local changes found, refresh first
>> % apply force, should not discard changes with empty patch
>> applying empty
>> -/usr/bin/patch: **** Only garbage was found in the patch input.
>> +patch: **** Only garbage was found in the patch input.
>> patch failed, unable to continue (try -v)
>> patch empty is empty
>> Now at: empty
>>
>> Could we agree on using that output on all unixes by doing
>> the patch below?
> 
> Hmm, looks like you patch isn't FreeBSD native /usr/bin/patch.  
> :-)

I don't understand you here. I simply do

%python run-tests.py test-mq

using crew tip and get that annoying changed output I posted.

I have a plain i386 FreeBSD 6.2 (from uname -a):
6.2-RELEASE FreeBSD 6.2-RELEASE #3: Sat Dec 15 17:53:17 CET 2007

%which patch
/usr/bin/patch

%patch --version
Patch version 2.1

I don't even understand what the implementation of that hg command
is calling here. All I can say is that obviously on my system, that
command seems *not* to prepend its install path in the error output.

It's the only test that fails on FreeBSD 6.2. All I would appreciate to
have changed is not to have to repeatedly stumble upon that output
each time I run the testsuite.

Since I do not have another unused computer, installing a linux/ubuntu/
debian/whatever is not an option for me and wouldn't be worth wasting
time for me anyway.

But as I said, it's only a minor problem. If my proposal is causing
other problems, then ignore it.



More information about the Mercurial-devel mailing list