Mercurial > hg
changeset 33342:96eb3f50f75c
test-mq: conditionalize output instead of tests
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 08 Jul 2017 18:46:12 -0400 |
parents | 1a4eca3b12dd |
children | 305935be8d5c |
files | tests/test-mq.t |
diffstat | 1 files changed, 3 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-mq.t Sat Jul 08 18:38:44 2017 -0400 +++ b/tests/test-mq.t Sat Jul 08 18:46:12 2017 -0400 @@ -932,27 +932,17 @@ #endif $ hg add new $ hg qrefresh -#if execbit + $ cat .hg/patches/new new file diff --git a/new b/new - new file mode 100755 + new file mode 100755 (execbit !) + new file mode 100644 (no-execbit !) --- /dev/null +++ b/new @@ -0,0 +1,1 @@ +foo -#else - $ cat .hg/patches/new - new file - - diff --git a/new b/new - new file mode 100644 - --- /dev/null - +++ b/new - @@ -0,0 +1,1 @@ - +foo -#endif $ hg qnew -m'copy file' copy $ hg cp new copy