summaryrefslogtreecommitdiffstats
path: root/test/uitest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/uitest.c')
-rw-r--r--test/uitest.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/test/uitest.c b/test/uitest.c
index 574412d633..855dc45442 100644
--- a/test/uitest.c
+++ b/test/uitest.c
@@ -11,22 +11,11 @@
#include <string.h>
#include <openssl/opensslconf.h>
#include <openssl/err.h>
-
-/*
- * The VMS build does stdio via a socketpair.
- */
-#ifdef __VMS
-# include "../apps/vms_term_sock.h"
-#endif
-
#include "../apps/apps.h"
-
#include "testutil.h"
-#include "test_main_custom.h"
/* apps/apps.c depend on these */
char *default_config_file = NULL;
-BIO *bio_err = NULL;
#ifndef OPENSSL_NO_UI
# include <openssl/ui.h>
@@ -102,21 +91,10 @@ static int test_new_ui()
#endif
-int test_main(int argc, char *argv[])
+void register_tests(void)
{
- int ret;
-
- bio_err = dup_bio_err(FORMAT_TEXT);
-
#ifndef OPENSSL_NO_UI
ADD_TEST(test_old);
ADD_TEST(test_new_ui);
#endif
-
- ret = run_tests(argv[0]);
-
- (void)BIO_flush(bio_err);
- BIO_free(bio_err);
-
- return ret;
}