aboutsummaryrefslogtreecommitdiff
path: root/t/t9301-fast-export.sh
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-11-22 19:22:48 +0100
committerJunio C Hamano <gitster@pobox.com>2008-11-23 19:54:24 -0800
commit283b9532831fc0a86c40ac89e1e713b28dabb241 (patch)
tree2a494cca03cc388b724ef6a38b86acc32dd9c379 /t/t9301-fast-export.sh
parent3eb91bfc0d2e0c8c67bd4ec62523deb849919dd9 (diff)
downloadgit-283b9532831fc0a86c40ac89e1e713b28dabb241.tar.gz
git-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/t9301-fast-export.sh')
-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 c19b4a2ba..7607a12db 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