From f3370bd1919751a28c206b19a743783a7c78c6da Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 4 Sep 2007 02:00:46 +0100 Subject: [PATCH] t7004: work around weird quoting issue with MSys It seems to be impossible to pass the _string_ '*a*' if there is _any_ file in the current directory whose name contains the letter 'a'. So remove all such files for the test that needs to pass that string. Signed-off-by: Johannes Schindelin --- t/t7004-tag.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh index 606d4f2a2c..a1a69c0380 100755 --- a/t/t7004-tag.sh +++ b/t/t7004-tag.sh @@ -185,8 +185,9 @@ cba EOF test_expect_success \ 'listing tags with substring as pattern must print those matching' ' - git-tag -l "*a*" > actual && - git diff expect actual + rm *a* && + git-tag -l "*a*" > current && + git diff expect current ' cat >expect <