changeset 33343:305935be8d5c

test-status-rev: conditionalize output instead of tests
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 08 Jul 2017 18:46:43 -0400
parents 96eb3f50f75c
children 1e872b08a4e9
files tests/test-status-rev.t
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-status-rev.t	Sat Jul 08 18:46:12 2017 -0400
+++ b/tests/test-status-rev.t	Sat Jul 08 18:46:43 2017 -0400
@@ -81,13 +81,10 @@
   $ hg status -A --rev 1 'glob:missing_*_missing-tracked'
   ! missing_content2_missing-tracked
   ! missing_missing_missing-tracked
-#if windows
+
   $ hg status -A --rev 1 'glob:missing_missing_missing-untracked'
-  missing_missing_missing-untracked: The system cannot find the file specified
-#else
-  $ hg status -A --rev 1 'glob:missing_missing_missing-untracked'
-  missing_missing_missing-untracked: No such file or directory
-#endif
+  missing_missing_missing-untracked: The system cannot find the file specified (windows !)
+  missing_missing_missing-untracked: No such file or directory (no-windows !)
 
 Status between first and second commit. Should ignore dirstate status.