Patchwork test-blackbox: stabilize for Windows

login
register
mail settings
Submitter Matt Harbison
Date Jan. 19, 2018, 5:41 a.m.
Message ID <b02eb22589468c72dc49.1516340470@Envy>
Download mbox | patch
Permalink /patch/26943/
State Accepted
Headers show

Comments

Matt Harbison - Jan. 19, 2018, 5:41 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@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.
Yuya Nishihara - Jan. 19, 2018, 11:58 a.m.
On Fri, 19 Jan 2018 00:41:10 -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@yahoo.com>
> # Date 1516339125 18000
> #      Fri Jan 19 00:18:45 2018 -0500
> # Node ID b02eb22589468c72dc49d83d272caa909f01fe65
> # Parent  fccf09e44f5124abf18ae898fab553ea6d91e951
> test-blackbox: stabilize for Windows

Queued, thanks.

Patch

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