# HG changeset patch # User Patrick Mezard # Date 1186389487 -7200 # Node ID 4cd52978e1888aa1bd92b8c21817bd9fd4032458 # Parent 7e2385a31933c642890dc11539305126bdedf1b5 test-git-import: fake executable permissions. diff --git a/tests/test-git-import b/tests/test-git-import --- a/tests/test-git-import +++ b/tests/test-git-import @@ -44,8 +44,12 @@ copy from new copy to copyx EOF -test -f copy -a ! -x copy || echo failed -test -x copyx || echo failed +if "$TESTDIR/hghave" -q execbit; then + test -f copy -a ! -x copy || echo failed + test -x copyx || echo failed +else + test -f copy || echo failed +fi cat copy hg cat copy