Code

Add test-script for git-tag
authorCarlos Rica <jasampler@gmail.com>
Thu, 28 Jun 2007 20:09:12 +0000 (22:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Jun 2007 03:46:35 +0000 (20:46 -0700)
commitef5a6fb59759006605b36c28cb1e61ec08ac2725
treeca7ddb5c41b0719247de3e104adffc012d26a6ef
parent30d038e2ffb5d11cd8047c0e88b71f39f379dd6c
Add test-script for git-tag

These tests are useful to develop the C version for git-tag.sh,
ensuring that the future builtin-tag.c will not break previous
behaviour.

The tests are focused on listing, verifying, deleting and creating
tags, checking always that the correct status value is returned
and everything remains as expected.

In order to verify and create signed tags, a PGP key was also
added, being created this way: gpg --homedir t/t7004 --gen-key
Type DSA and Elgamal, size 2048 bits, no expiration date.
Name and email: C O Mitter <committer@example.com>
No password given, to enable non-interactive operation.

Signed-off-by: Carlos Rica <jasampler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7004-tag.sh [new file with mode: 0755]
t/t7004/pubring.gpg [new file with mode: 0644]
t/t7004/random_seed [new file with mode: 0644]
t/t7004/secring.gpg [new file with mode: 0644]