Re: [PATCH libcacard] Remove link_test.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK.


On Mon, Oct 12, 2015 at 11:15:15AM +0200, marcandre.lureau@xxxxxxxxxx wrote:
> From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> 
> This test was not automated and is now redundant with make check tests
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]