Apache HTTPD
Macros | Functions | Variables
testproc.c File Reference
#include "apr_thread_proc.h"
#include "apr_errno.h"
#include "apr_general.h"
#include "apr_lib.h"
#include "apr_strings.h"
#include "testutil.h"

Go to the source code of this file.

Macros

#define TESTSTR   "This is a test"
 
#define PROC_CHILD_NAME   TESTBINPATH "proc_child" EXTENSION
 

Functions

static void test_create_proc (abts_case *tc, void *data)
 
static void test_proc_wait (abts_case *tc, void *data)
 
static void test_file_redir (abts_case *tc, void *data)
 
abts_suitetestproc (abts_suite *suite)
 

Variables

static charproc_child
 
static apr_proc_t newproc
 

Macro Definition Documentation

◆ PROC_CHILD_NAME

#define PROC_CHILD_NAME   TESTBINPATH "proc_child" EXTENSION

Definition at line 26 of file testproc.c.

◆ TESTSTR

#define TESTSTR   "This is a test"

Definition at line 24 of file testproc.c.

Function Documentation

◆ test_create_proc()

static void test_create_proc ( abts_case tc,
void *  data 
)
static

Definition at line 32 of file testproc.c.

◆ test_file_redir()

static void test_file_redir ( abts_case tc,
void *  data 
)
static

< Open the file for reading

< Open the file for writing

< Create the file if not there

< Open should fail if APR_FOPEN_CREATE and file exists.

< use OS's default permissions

<

Deprecated:
See also
APR_FPROT_OS_DEFAULT

< Open the file for reading

< Open the file for writing

< Create the file if not there

< Open should fail if APR_FOPEN_CREATE and file exists.

< use OS's default permissions

<

Deprecated:
See also
APR_FPROT_OS_DEFAULT

< Open the file for reading

< Open the file for writing

< Create the file if not there

< Open should fail if APR_FOPEN_CREATE and file exists.

< use OS's default permissions

<

Deprecated:
See also
APR_FPROT_OS_DEFAULT

Definition at line 87 of file testproc.c.

◆ test_proc_wait()

static void test_proc_wait ( abts_case tc,
void *  data 
)
static

Definition at line 79 of file testproc.c.

◆ testproc()

abts_suite * testproc ( abts_suite suite)

Definition at line 166 of file testproc.c.

Variable Documentation

◆ newproc

apr_proc_t newproc
static

Definition at line 30 of file testproc.c.

◆ proc_child

char* proc_child
static

Definition at line 28 of file testproc.c.