Mercurial > hg-stable
changeset 39221:3fa9058f4f79
test-absorb: stabilize for no-execbit platforms
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 18 Aug 2018 13:27:33 -0400 |
parents | 2f89a7defe62 |
children | 2dfc22620a54 |
files | tests/test-absorb.t |
diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 - <<EOF + > # 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