mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-03 21:40:18 +08:00
testsuite: User input define added
This commit is contained in:
parent
b4937b0792
commit
27ff7e70a8
@ -54,6 +54,7 @@
|
||||
#include <rtems/bsd/util.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD ARP HOLE"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
typedef struct {
|
||||
struct ether_header eh;
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include <rtems/rtems-debugger-remote-tcp.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD DEBUGGER 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
extern rtems_shell_cmd_t rtems_shell_DEBUGGER_Command;
|
||||
|
||||
|
@ -39,9 +39,10 @@
|
||||
#include <rtems/console.h>
|
||||
#include <rtems/shell.h>
|
||||
#include <rtems/bsd/bsd.h>
|
||||
#include <rtems/test.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD EVDEV"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
#include <rtems/test.h>
|
||||
|
||||
#define PRIO_OPEN (RTEMS_MAXIMUM_PRIORITY - 12)
|
||||
#define PRIO_KEYBOARD (RTEMS_MAXIMUM_PRIORITY - 11)
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include <rtems/mdns.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD FOOBAR CLIENT"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
static CacheEntity rr_cache[64];
|
||||
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include <pthread.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD FOOBAR SERVER"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
#define FOOBAR_PORT_BEGIN 10815
|
||||
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include <rtems/console.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD FTPD 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
struct rtems_ftpd_configuration rtems_ftpd_configuration = {
|
||||
/* FTPD task priority */
|
||||
|
@ -30,6 +30,7 @@
|
||||
*/
|
||||
|
||||
#define TEST_NAME "LIBBSD IPSEC 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include <rtems/telnetd.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD MEDIA 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
struct rtems_ftpd_configuration rtems_ftpd_configuration = {
|
||||
/* FTPD task priority */
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include <rtems/termiostypes.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD NETSHELL 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
static void
|
||||
change_serial_settings(int fd, const struct termios *current, bool icanon)
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include <rtems/bsd/test/network-config.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD NFS 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
static void
|
||||
test_main(void)
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include <rtems/shell.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD PF 2"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
/* Block all input except telnet. */
|
||||
#define ETC_PF_CONF "/etc/pf.conf"
|
||||
|
@ -59,6 +59,7 @@
|
||||
#include <rtems/rtemspppd.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD PPP 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
#ifndef RTEMS_SMP
|
||||
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include <rtems/telnetd.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD TELNETD 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
static void
|
||||
telnet_shell(char *name, void *arg)
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "test_termios_driver.h"
|
||||
|
||||
#define TEST_NAME "LIBBSD TERMIOS"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
/* forward declarations to avoid warnings */
|
||||
void print_32bits(unsigned long bits, unsigned char size, char * names[]);
|
||||
|
@ -38,9 +38,10 @@
|
||||
#include <rtems/media.h>
|
||||
#include <rtems/shell.h>
|
||||
#include <rtems/bsd/bsd.h>
|
||||
#include <rtems/test.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD USB 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
#include <rtems/test.h>
|
||||
|
||||
static rtems_status_code
|
||||
media_listener(rtems_media_event event, rtems_media_state state,
|
||||
|
@ -34,9 +34,10 @@
|
||||
#include <rtems/console.h>
|
||||
#include <rtems/shell.h>
|
||||
#include <rtems/bsd/bsd.h>
|
||||
#include <rtems/test.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD USB KEYBOARD"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
#include <rtems/test.h>
|
||||
|
||||
#define USB_SERIAL_TEST_BUFFER_SIZE 48
|
||||
#define PRIO_OPEN (RTEMS_MAXIMUM_PRIORITY - 12)
|
||||
|
@ -39,9 +39,10 @@
|
||||
#include <rtems/console.h>
|
||||
#include <rtems/shell.h>
|
||||
#include <rtems/bsd/bsd.h>
|
||||
#include <rtems/test.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD USB MOUSE"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
#include <rtems/test.h>
|
||||
|
||||
#define USB_SERIAL_TEST_BUFFER_SIZE 48
|
||||
#define PRIO_OPEN (RTEMS_MAXIMUM_PRIORITY - 12)
|
||||
|
@ -35,9 +35,10 @@
|
||||
#include <rtems/console.h>
|
||||
#include <rtems/shell.h>
|
||||
#include <rtems/bsd/bsd.h>
|
||||
#include <rtems/test.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD USB SERIAL"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
#include <rtems/test.h>
|
||||
|
||||
#define USB_SERIAL_TEST_BUFFER_SIZE 48
|
||||
#define PRIO_OPEN (RTEMS_MAXIMUM_PRIORITY - 12)
|
||||
|
@ -57,6 +57,7 @@
|
||||
#include <rtems/bsd/test/network-config.h>
|
||||
|
||||
#define TEST_NAME "LIBBSD ZEROCOPY 1"
|
||||
#define TEST_STATE_USER_INPUT 1
|
||||
|
||||
#define BUFFER_COUNT 128
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user