Patchwork [2,of,4] test-extdata: conditonalize error message for Windows

login
register
mail settings
Submitter Matt Harbison
Date Oct. 14, 2017, 5:54 a.m.
Message ID <60c022679230b586511e.1507960485@Envy>
Download mbox | patch
Permalink /patch/24876/
State Accepted
Headers show

Comments

Matt Harbison - Oct. 14, 2017, 5:54 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1507954859 14400
#      Sat Oct 14 00:20:59 2017 -0400
# Node ID 60c022679230b586511ec1c7ebc350dbd16e99f0
# Parent  e1a7c125f4ac198ba0ec72d9c378a8a357862799
test-extdata: conditonalize error message for Windows

Patch

diff --git a/tests/test-extdata.t b/tests/test-extdata.t
--- a/tests/test-extdata.t
+++ b/tests/test-extdata.t
@@ -88,7 +88,8 @@ 
   $ mkdir sub
   $ cd sub
   $ hg log -qr "extdata(filedata)"
-  abort: error: No such file or directory
+  abort: error: The system cannot find the file specified (windows !)
+  abort: error: No such file or directory (no-windows !)
   [255]
   $ hg log -qr "extdata(shelldata)"
   2:f6ed99a58333