]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
test-conversion: remove test/test-init
authorDan McGee <dan@archlinux.org>
Sat, 4 Feb 2012 02:29:11 +0000 (20:29 -0600)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Sun, 5 Feb 2012 04:15:44 +0000 (02:15 -0200)
This was already converted to testsuite/test-init.

test/test-init.c [deleted file]

diff --git a/test/test-init.c b/test/test-init.c
deleted file mode 100644 (file)
index 3128431..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <errno.h>
-#include <unistd.h>
-#include <libkmod.h>
-
-
-int main(int argc, char *argv[])
-{
-       struct kmod_ctx *ctx;
-       const char *null_config = NULL;
-
-       ctx = kmod_new(NULL, &null_config);
-       if (ctx == NULL)
-               exit(EXIT_FAILURE);
-
-       printf("libkmod version %s\n", VERSION);
-
-       kmod_unref(ctx);
-
-       return EXIT_SUCCESS;
-}