[PATCH] test-blackbox: stabilize for Windows

Matt Harbison mharbison72 at gmail.com
Fri Jan 19 05:41:10 UTC 2018


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1516339125 18000
#      Fri Jan 19 00:18:45 2018 -0500
# Node ID b02eb22589468c72dc49d83d272caa909f01fe65
# Parent  fccf09e44f5124abf18ae898fab553ea6d91e951
test-blackbox: stabilize for Windows

This goes with 853bf7d90804.

diff --git a/tests/test-blackbox.t b/tests/test-blackbox.t
--- a/tests/test-blackbox.t
+++ b/tests/test-blackbox.t
@@ -194,11 +194,13 @@
   > \1#' $TESTDIR/test-dispatch.py > ../test-dispatch.py
   $ $PYTHON $TESTDIR/blackbox-readonly-dispatch.py
   running: --debug add foo
-  warning: cannot write to blackbox.log: Is a directory
+  warning: cannot write to blackbox.log: Is a directory (no-windows !)
+  warning: cannot write to blackbox.log: $TESTTMP/blackboxtest3/.hg/blackbox.log: Access is denied (windows !)
   adding foo
   result: 0
   running: --debug commit -m commit1 -d 2000-01-01 foo
-  warning: cannot write to blackbox.log: Is a directory
+  warning: cannot write to blackbox.log: Is a directory (no-windows !)
+  warning: cannot write to blackbox.log: $TESTTMP/blackboxtest3/.hg/blackbox.log: Access is denied (windows !)
   committing files:
   foo
   committing manifest


More information about the Mercurial-devel mailing list