changeset 40761:0800d9e6e216

tests: disable remotefilelog on Windows I've spent a non trivial amount of time trying to eliminate the test errors, but it's looking like this is pretty dependent on Unix support. For example, there are attempts to delete open files, and uses of threads that report I/O attempts on closed files. (Maybe this is a race condition? Don't we usually use processes as workers on Windows?) In any event, I don't want real new errors elsewhere to be masked by these known problems. For some reason $CACHEDIR is reported as missing in test-remotefilelog-repack.t, but it actually exists in the hgcloneshallow call inside shallowutil.mkstickygroupdir(). By the time the process exits, it's gone. I don't see it being removed by code that calls 'rmdir' or 'remove' in the extension itself.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 24 Nov 2018 14:11:02 -0500
parents 0adc2c0a0792
children 2cd5f1fac788
files tests/test-remotefilelog-bad-configs.t tests/test-remotefilelog-bgprefetch.t tests/test-remotefilelog-blame.t tests/test-remotefilelog-bundle2-legacy.t tests/test-remotefilelog-bundle2.t tests/test-remotefilelog-bundles.t tests/test-remotefilelog-cacheprocess.t tests/test-remotefilelog-clone-tree.t tests/test-remotefilelog-clone.t tests/test-remotefilelog-corrupt-cache.t tests/test-remotefilelog-gc.t tests/test-remotefilelog-gcrepack.t tests/test-remotefilelog-http.t tests/test-remotefilelog-keepset.t tests/test-remotefilelog-linknodes.t tests/test-remotefilelog-local.t tests/test-remotefilelog-log.t tests/test-remotefilelog-partial-shallow.t tests/test-remotefilelog-permissions.t tests/test-remotefilelog-prefetch.t tests/test-remotefilelog-pull-noshallow.t tests/test-remotefilelog-push-pull.t tests/test-remotefilelog-repack-fast.t tests/test-remotefilelog-repack.t tests/test-remotefilelog-share.t tests/test-remotefilelog-sparse.t tests/test-remotefilelog-tags.t tests/test-remotefilelog-wireproto.t
diffstat 28 files changed, 56 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-remotefilelog-bad-configs.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-bad-configs.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-bgprefetch.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-bgprefetch.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-blame.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-blame.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-bundle2-legacy.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-bundle2-legacy.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
 generaldelta to generaldelta interactions with bundle2 but legacy clients
--- a/tests/test-remotefilelog-bundle2.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-bundle2.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-bundles.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-bundles.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-cacheprocess.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-cacheprocess.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init repo
--- a/tests/test-remotefilelog-clone-tree.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-clone-tree.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-clone.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-clone.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-corrupt-cache.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-corrupt-cache.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-gc.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-gc.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-gcrepack.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-gcrepack.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-http.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-http.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-keepset.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-keepset.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-linknodes.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-linknodes.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
 # Tests for the complicated linknode logic in remotefilelog.py::ancestormap()
 
   $ . "$TESTDIR/remotefilelog-library.sh"
--- a/tests/test-remotefilelog-local.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-local.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-log.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-log.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-partial-shallow.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-partial-shallow.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-permissions.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-permissions.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-prefetch.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-prefetch.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-pull-noshallow.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-pull-noshallow.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
 Set up an extension to make sure remotefilelog clientsetup() runs
--- a/tests/test-remotefilelog-push-pull.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-push-pull.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-repack-fast.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-repack-fast.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ cat >> $HGRCPATH <<EOF
--- a/tests/test-remotefilelog-repack.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-repack.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-share.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-share.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ cat >> $HGRCPATH <<EOF
--- a/tests/test-remotefilelog-sparse.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-sparse.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-tags.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-tags.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
--- a/tests/test-remotefilelog-wireproto.t	Thu Nov 22 23:48:44 2018 +0100
+++ b/tests/test-remotefilelog-wireproto.t	Sat Nov 24 14:11:02 2018 -0500
@@ -1,3 +1,5 @@
+#require no-windows
+
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master