Patchwork [4,of,4] tests: conditionalize narrow-widen error output for Windows

login
register
mail settings
Submitter Matt Harbison
Date Sept. 1, 2018, 6:05 a.m.
Message ID <4542da498ea27f2f9d75.1535781933@Envy>
Download mbox | patch
Permalink /patch/34230/
State Accepted
Headers show

Comments

Matt Harbison - Sept. 1, 2018, 6:05 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1535781715 14400
#      Sat Sep 01 02:01:55 2018 -0400
# Node ID 4542da498ea27f2f9d75b84b3fbf3fd7727da601
# Parent  9a5c52a1933072c6d88ba33d64ccc14f24472115
tests: conditionalize narrow-widen error output for Windows

Patch

diff --git a/tests/test-narrow-widen-no-ellipsis.t b/tests/test-narrow-widen-no-ellipsis.t
--- a/tests/test-narrow-widen-no-ellipsis.t
+++ b/tests/test-narrow-widen-no-ellipsis.t
@@ -365,7 +365,8 @@  Widening that fails can be recovered fro
   $ hg bookmarks
    * bookmark                  11:* (glob)
   $ hg unbundle .hg/strip-backup/*-widen.hg
-  abort: $ENOENT$: .hg/strip-backup/*-widen.hg
+  abort: .hg/strip-backup/*-widen.hg: $ENOTDIR$ (windows !)
+  abort: $ENOENT$: .hg/strip-backup/*-widen.hg (no-windows !)
   [255]
   $ hg log -T "{if(ellipsis, '...')}{rev}: {desc}\n"
   11: local