Re: [PATCH v5 3/4] cache-tree: subdirectory tests

2014-07-08 Thread Junio C Hamano
David Turner writes: > + printf "invalid %s ()\n" "" "$@" > >expect && > + test-dump-cache-tree | \ > + sed -n -e "s/$_x40/SHA/" -e "s/[0-9]* subtrees//g" -e '/#(ref)/d' -e > '/^invalid /p' >actual && You only show lines that begin with "invalid ".

[PATCH v5 3/4] cache-tree: subdirectory tests

2014-07-07 Thread David Turner
Add tests to confirm that invalidation of subdirectories neither over- nor under-invalidates. Signed-off-by: David Turner --- t/t0090-cache-tree.sh | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/t/t0090-cache-tree.sh b/t/t0090-cache-tree.sh index