summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Miklos Vajna <vmiklos@frugalware.org>2008-11-22 19:22:48 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-23 19:54:24 -0800
commit283b9532831fc0a86c40ac89e1e713b28dabb241 (patch)
tree2a494cca03cc388b724ef6a38b86acc32dd9c379 /t
parentrequest-pull: make usage string match manpage (diff)
downloadtgif-283b9532831fc0a86c40ac89e1e713b28dabb241.tar.xz
Add new testcase to show fast-export does not always exports all tags
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t9301-fast-export.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t9301-fast-export.sh b/t/t9301-fast-export.sh
index c19b4a2bab..7607a12dbb 100755
--- a/t/t9301-fast-export.sh
+++ b/t/t9301-fast-export.sh
@@ -231,4 +231,12 @@ test_expect_success 'fast-export -C -C | fast-import' '
'
+test_expect_failure 'fast-export | fast-import when master is tagged' '
+
+ git tag -m msg last &&
+ git fast-export -C -C --signed-tags=strip --all > output &&
+ test $(grep -c "^tag " output) = 3
+
+'
+
test_done