testsuite: User input define added

This commit is contained in:
Moyano, Gabriel 2020-03-31 10:57:55 +02:00 committed by Sebastian Huber
parent b4937b0792
commit 27ff7e70a8
19 changed files with 24 additions and 5 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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)

View File

@ -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];

View File

@ -47,6 +47,7 @@
#include <pthread.h>
#define TEST_NAME "LIBBSD FOOBAR SERVER"
#define TEST_STATE_USER_INPUT 1
#define FOOBAR_PORT_BEGIN 10815

View File

@ -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 */

View File

@ -30,6 +30,7 @@
*/
#define TEST_NAME "LIBBSD IPSEC 1"
#define TEST_STATE_USER_INPUT 1
#include <stdio.h>
#include <stdlib.h>

View File

@ -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 */

View File

@ -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)

View File

@ -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)

View File

@ -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"

View File

@ -59,6 +59,7 @@
#include <rtems/rtemspppd.h>
#define TEST_NAME "LIBBSD PPP 1"
#define TEST_STATE_USER_INPUT 1
#ifndef RTEMS_SMP

View File

@ -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)

View File

@ -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[]);

View File

@ -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,

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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