changeset 38415:6fcbab5c1e6e

test-lfs: add coverage for the binary() fileset This ensures that the blobs don't need to be present to be filtered properly.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 21 Jun 2018 00:48:59 -0400
parents 235d0bc11e1d
children 35b50237908b
files tests/test-lfs.t
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-lfs.t	Thu Jun 21 00:05:26 2018 -0400
+++ b/tests/test-lfs.t	Thu Jun 21 00:48:59 2018 -0400
@@ -526,6 +526,10 @@
   lfs: found 5dde896887f6754c9b15bfe3a441ae4806df2fde94001311e08bf110622e0bbe in the local lfs store
            2   b
 
+  $ hg files --debug -r . 'set:binary()' --config 'experimental.lfs.disableusercache=True'
+           2   a
+           3   c
+
   $ cd ..
 
 # Test fctx.cmp fastpath - diff without LFS blobs