summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/pppd/init.c
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-02-26 16:19:20 -0700
committerVijay Kumar Banerjee <vijay@rtems.org>2021-04-07 16:15:39 -0600
commitdf6d765c3aa13d7f83b602127cb9aa97c592c7cf (patch)
tree48b19f766610da7ca99bd40920f816fb1a4a0215 /testsuites/samples/pppd/init.c
parentspec: Remove residue bsps spec files (diff)
downloadrtems-df6d765c3aa13d7f83b602127cb9aa97c592c7cf.tar.bz2
testsuites: Remove all legacy networking tests
Update #3850
Diffstat (limited to 'testsuites/samples/pppd/init.c')
-rw-r--r--testsuites/samples/pppd/init.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/testsuites/samples/pppd/init.c b/testsuites/samples/pppd/init.c
deleted file mode 100644
index 95e0d533f4..0000000000
--- a/testsuites/samples/pppd/init.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2012.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#define CONFIGURE_INIT
-#include "system.h"
-
-#include <rtems/rtems_bsdnet.h>
-#include <rtems/rtemspppd.h>
-#include <rtems/shell.h>
-#include "netconfig.h"
-#include <tmacros.h>
-
-const char rtems_test_name[] = "PPPD";
-
-static void notification(int fd, int seconds_remaining, void *arg)
-{
- printf(
- "Press any key to start pppd (%is remaining)\n",
- seconds_remaining
- );
-}
-
-rtems_task Init(rtems_task_argument argument)
-{
- rtems_status_code status;
-
- rtems_print_printer_fprintf_putc(&rtems_test_printer);
-
- TEST_BEGIN();
-
- status = rtems_shell_wait_for_input(
- STDIN_FILENO,
- 10,
- notification,
- NULL
- );
- if (status != RTEMS_SUCCESSFUL) {
- TEST_END();
- exit( 0 );
- }
-
- /* initialize network */
- rtems_bsdnet_initialize_network();
- rtems_pppd_initialize();
- pppdapp_initialize();
- rtems_task_exit();
-}