# HG changeset patch # User Matt Harbison # Date 1543086662 18000 # Node ID 0800d9e6e216b2ca59f05788b288685b8d7b2d93 # Parent 0adc2c0a0792d4a0015ec0634487ed9e08fd0e7e 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. diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-bad-configs.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-bgprefetch.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-blame.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-bundle2-legacy.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-bundle2.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-bundles.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-cacheprocess.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-clone-tree.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-clone.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-corrupt-cache.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-gc.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-gcrepack.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-http.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-keepset.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-linknodes.t --- 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" diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-local.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-log.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-partial-shallow.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-permissions.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-prefetch.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-pull-noshallow.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-push-pull.t --- 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 diff -r 0adc2c0a0792 -r 0800d9e6e216 tests/test-remotefilelog-repack-fast.t --- 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 <> $HGRCPATH <