From: Jeff King Date: Thu, 6 Dec 2007 03:28:06 +0000 (-0500) Subject: t7300: add test for clean with wildcard pathspec X-Git-Tag: v1.5.4-rc0~62^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d3357ab8730fdd863171b241dea10e316ed7bd05;p=git.git t7300: add test for clean with wildcard pathspec Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh index f013c176e..dfd118878 100755 --- a/t/t7300-clean.sh +++ b/t/t7300-clean.sh @@ -126,6 +126,20 @@ test_expect_success 'git-clean symbolic link' ' ' +test_expect_success 'git-clean with wildcard' ' + + touch a.clean b.clean other.c && + git-clean "*.clean" && + test -f Makefile && + test -f README && + test -f src/part1.c && + test -f src/part2.c && + test ! -f a.clean && + test ! -f b.clean && + test -f other.c + +' + test_expect_success 'git-clean -n' ' mkdir -p build docs &&