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

Matt Harbison mharbison72 at gmail.com
Sat Oct 14 01:54:45 EDT 2017


# HG changeset patch
# User Matt Harbison <matt_harbison at 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

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


More information about the Mercurial-devel mailing list