[PATCH] tests: Use an explicit if/then/else block in test-execute-bit

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Oct 30 13:55:47 CDT 2007


On 2007-10-30 20:52, Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> # HG changeset patch
> # User Giorgos Keramidas <keramida at ceid.upatras.gr>
> # Date 1193770268 -7200
> # Node ID e9773a4cd8dc4b9a4d304e6ebf0319aae18f747c
> # Parent  5bff70ff04315b2929c548326d259c27c5e238b9
> tests: Use an explicit if/then/else block in test-execute-bit

test-execute-bit fails on FreeBSD here.  Modifying the test script to
use --debug when updating the file, I see:

% ERROR: test-execute-bit output changed
% --- Expected output
% +++ Test output
% @@ -1,5 +1,8 @@
%  adding a
%  1549299e88d1 tip
% +resolving manifests
% + overwrite False partial False
% + ancestor d69afc33ff8a local 1549299e88d1+ remote d69afc33ff8a
%  0 files updated, 0 files merged, 0 files removed, 0 files unresolved
%  d69afc33ff8a
% -not executable -- whew
% +executable -- eek
% .
% # Ran 1 tests, 0 skipped, 1 failed.

Mercurial doesn't update the executable flag of the workspace
file, even though it should.

The test was run with a Crew snapshot (version: 5bff70ff0431).


More information about the Mercurial-devel mailing list