[Spice-devel] [PATCH libcacard] Remove link_test.c
marcandre.lureau at redhat.com
marcandre.lureau at redhat.com
Mon Oct 12 02:15:15 PDT 2015
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
More information about the Spice-devel
mailing list