[Spice-devel] [PATCH libcacard] Remove link_test.c
Christophe Fergeau
cfergeau at redhat.com
Mon Oct 12 04:14:42 PDT 2015
ACK.
On Mon, Oct 12, 2015 at 11:15:15AM +0200, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
>
> This test was not automated and is now redundant with make check tests
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> ---
> docs/libcacard.txt | 1 -
> src/link_test.c | 22 ----------------------
> 2 files changed, 23 deletions(-)
> delete mode 100644 src/link_test.c
>
> diff --git a/docs/libcacard.txt b/docs/libcacard.txt
> index 499cf7d..4c9cccc 100644
> --- a/docs/libcacard.txt
> +++ b/docs/libcacard.txt
> @@ -480,4 +480,3 @@ vcard_emul_nss.c - virtual card emulator implementation for nss.
> vscclient.c - socket connection to guest qemu usb driver.
> vscard_common.h - common header with the guest qemu usb driver.
> mutex.h - header file for machine independent mutexes.
> -link_test.c - static test to make sure all the symbols are properly defined.
> diff --git a/src/link_test.c b/src/link_test.c
> deleted file mode 100644
> index b43b630..0000000
> --- a/src/link_test.c
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -/*
> - * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
> - * See the COPYING file in the top-level directory.
> - */
> -
> -#include <stdio.h>
> -#include "vcard.h"
> -
> -VCardStatus cac_card_init(const char *flags, VCard *card,
> - const unsigned char *cert[],
> - int cert_len[], VCardKey *key[] /* adopt the keys*/,
> - int cert_count);
> -/*
> - * this will crash... just test the linkage right now
> - */
> -
> -main(int argc, char **argv)
> -{
> - VCard *card; /* no constructor yet */
> - cac_card_init("", card, NULL, 0, NULL, 0);
> -}
> -
> --
> 2.4.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20151012/3df368da/attachment.sig>
More information about the Spice-devel
mailing list