# HG changeset patch # User Matt Harbison # Date 1499553972 14400 # Node ID 96eb3f50f75c75a6ac68eda3b182fe581c6269a3 # Parent 1a4eca3b12dd2b704872faf5ca0c0fc344ac4edd test-mq: conditionalize output instead of tests diff -r 1a4eca3b12dd -r 96eb3f50f75c tests/test-mq.t --- 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