Patchwork [2,of,2] test-lfs: add coverage for the binary() fileset

login
register
mail settings
Submitter Matt Harbison
Date June 21, 2018, 4:53 a.m.
Message ID <09722002b8160300642c.1529556829@Envy>
Download mbox | patch
Permalink /patch/32353/
State Accepted
Headers show

Comments

Matt Harbison - June 21, 2018, 4:53 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1529556539 14400
#      Thu Jun 21 00:48:59 2018 -0400
# Node ID 09722002b8160300642c26ab3ebda01eb06e8bc4
# Parent  34268c3b609860088271789ddcaf30f8fbd624dd
test-lfs: add coverage for the binary() fileset

This ensures that the blobs don't need to be present to be filtered properly.

Patch

diff --git a/tests/test-lfs.t b/tests/test-lfs.t
--- a/tests/test-lfs.t
+++ b/tests/test-lfs.t
@@ -526,6 +526,10 @@  absence doesn't cause an abort.)
   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