Skip to content

Commit

Permalink
tests: kill unsupported sparse profile syntax
Browse files Browse the repository at this point in the history
Summary: This test used "!glob:..." to effect an exclude rule. However, I don't think this was intended. It happened to work because, internally, the sparse extensions prepends "!" to represent negative rules.

Reviewed By: quark-zju

Differential Revision: D49928290

fbshipit-source-id: 72af609b25ebfdc62cb7df408aa1811e885f6a13
  • Loading branch information
muirdm authored and facebook-github-bot committed Oct 5, 2023
1 parent 0078dd4 commit 759fc61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eden/scm/tests/test-sparse-profiles-v2.t
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ Test that multiple profiles do not clobber each others includes

$ newclientrepo
$ cat > s1.sparse << 'EOF'
> !glob:a*.sparse
> [exclude]
> glob:a*.sparse
> [metadata]
> version: 2
> EOF
Expand All @@ -140,7 +141,8 @@ Test that multiple profiles do not clobber each others includes
> version: 2
> EOF
$ cat > s4.sparse << 'EOF'
> !glob:*b.sparse
> [exclude]
> glob:*b.sparse
> [metadata]
> version: 2
> EOF
Expand Down

0 comments on commit 759fc61

Please sign in to comment.