test-mq: conditionalize output instead of tests
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 08 Jul 2017 18:46:12 -0400
changeset 33342 96eb3f50f75c
parent 33341 1a4eca3b12dd
child 33343 305935be8d5c
test-mq: conditionalize output instead of tests
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