diff -r f00edef84c3b -r 0aafeded7957 tests/test-sparse.t --- a/tests/test-sparse.t Fri Jan 19 19:20:50 2018 -0500 +++ b/tests/test-sparse.t Sat Jan 20 13:57:11 2018 -0500 @@ -290,7 +290,7 @@ $ touch dir1/notshown $ hg commit -A dir1/notshown -m "notshown" $ hg debugsparse --include 'dir1/dir2' - $ $PYTHON $TESTDIR/list-tree.py . | grep -v ./.hg + $ $PYTHON $TESTDIR/list-tree.py . | egrep -v '\.[\/]\.hg' ./ ./dir1/ ./dir1/dir2/ @@ -298,7 +298,7 @@ ./hide.orig $ hg debugsparse --delete 'dir1/dir2' $ hg debugsparse --include 'glob:dir1/dir2' - $ $PYTHON $TESTDIR/list-tree.py . | grep -v ./.hg + $ $PYTHON $TESTDIR/list-tree.py . | egrep -v '\.[\/]\.hg' ./ ./dir1/ ./dir1/dir2/