summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d871c86)
raw | patch | inline | side by side (parent: d871c86)
author | Jeff King <peff@peff.net> | |
Thu, 6 Dec 2007 03:28:06 +0000 (22:28 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 6 Dec 2007 06:47:45 +0000 (22:47 -0800) |
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7300-clean.sh | patch | blob | history |
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh
index f013c176ed910d278cbb886004429869f288ebc7..dfd118878fd37c096ccd426aa01fa2ac36581367 100755 (executable)
--- a/t/t7300-clean.sh
+++ b/t/t7300-clean.sh
'
+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 &&