# HG changeset patch # User Matt Harbison # Date 1534613253 14400 # Node ID 3fa9058f4f795e9c1895655036f80aecfe03b574 # Parent 2f89a7defe628d2f93399fedcca25fedf3406883 test-absorb: stabilize for no-execbit platforms diff -r 2f89a7defe62 -r 3fa9058f4f79 tests/test-absorb.t --- a/tests/test-absorb.t Sat Aug 18 12:35:47 2018 -0400 +++ b/tests/test-absorb.t Sat Aug 18 13:27:33 2018 -0400 @@ -325,10 +325,26 @@ $ cd .. $ hg init repo3 $ cd repo3 + +#if execbit $ echo > foo.py $ chmod +x foo.py $ hg add foo.py $ hg commit -mfoo +#else + $ hg import -q --bypass - < # HG changeset patch + > foo + > + > diff --git a/foo.py b/foo.py + > new file mode 100755 + > --- /dev/null + > +++ b/foo.py + > @@ -0,0 +1,1 @@ + > + + > EOF + $ hg up -q +#endif $ echo bla > foo.py $ hg absorb --dry-run --print-changes