diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-11-22 19:22:48 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-23 19:54:24 -0800 |
commit | 283b9532831fc0a86c40ac89e1e713b28dabb241 (patch) | |
tree | 2a494cca03cc388b724ef6a38b86acc32dd9c379 /t/t9301-fast-export.sh | |
parent | 3eb91bfc0d2e0c8c67bd4ec62523deb849919dd9 (diff) | |
download | git-283b9532831fc0a86c40ac89e1e713b28dabb241.tar.gz |
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-x | t/t9301-fast-export.sh | 8 |
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 |