Apache HTTPD
Functions
testdir.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "apr_file_io.h"
#include "apr_file_info.h"
#include "apr_errno.h"
#include "apr_general.h"
#include "apr_lib.h"
#include "apr_thread_proc.h"
#include "testutil.h"

Go to the source code of this file.

Functions

static void test_mkdir (abts_case *tc, void *data)
 
static void test_mkdir_recurs (abts_case *tc, void *data)
 
static void mkdir_func (abts_case *tc, apr_pool_t *pool)
 
static void test_mkdir_recurs_parallel (abts_case *tc, void *data)
 
static void test_remove (abts_case *tc, void *data)
 
static void test_removeall_fail (abts_case *tc, void *data)
 
static void test_removeall (abts_case *tc, void *data)
 
static void test_remove_notthere (abts_case *tc, void *data)
 
static void test_mkdir_twice (abts_case *tc, void *data)
 
static void test_opendir (abts_case *tc, void *data)
 
static void test_opendir_notthere (abts_case *tc, void *data)
 
static void test_closedir (abts_case *tc, void *data)
 
static void test_rewind (abts_case *tc, void *data)
 
static void test_uncleared_errno (abts_case *tc, void *data)
 
static void test_rmkdir_nocwd (abts_case *tc, void *data)
 
abts_suitetestdir (abts_suite *suite)
 

Function Documentation

◆ mkdir_func()

static void mkdir_func ( abts_case tc,
apr_pool_t pool 
)
static

< Read by user

< Write by user

< Execute by user

< Read by user

< Write by user

< Execute by user

< Read by user

< Write by user

< Execute by user

< Read by user

< Write by user

< Execute by user

< Read by user

< Write by user

< Execute by user

Definition at line 63 of file testdir.c.

◆ test_closedir()

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

Definition at line 284 of file testdir.c.

◆ test_mkdir()

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

< Read by user

<

Deprecated:
See also
APR_FPROT_UREAD

< Write by user

<

Deprecated:
See also
APR_FPROT_UWRITE

< Execute by user

<

Deprecated:
See also
APR_FPROT_UEXECUTE

< Type

Definition at line 28 of file testdir.c.

◆ test_mkdir_recurs()

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

< Read by user

<

Deprecated:
See also
APR_FPROT_UREAD

< Write by user

<

Deprecated:
See also
APR_FPROT_UWRITE

< Execute by user

<

Deprecated:
See also
APR_FPROT_UEXECUTE

< Type

< Type

< Type

Definition at line 41 of file testdir.c.

◆ test_mkdir_recurs_parallel()

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

Definition at line 105 of file testdir.c.

◆ test_mkdir_twice()

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

< Read by user

<

Deprecated:
See also
APR_FPROT_UREAD

< Write by user

<

Deprecated:
See also
APR_FPROT_UWRITE

< Execute by user

<

Deprecated:
See also
APR_FPROT_UEXECUTE

< Read by user

<

Deprecated:
See also
APR_FPROT_UREAD

< Write by user

<

Deprecated:
See also
APR_FPROT_UWRITE

< Execute by user

<

Deprecated:
See also
APR_FPROT_UEXECUTE

Definition at line 251 of file testdir.c.

◆ test_opendir()

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

Definition at line 265 of file testdir.c.

◆ test_opendir_notthere()

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

Definition at line 275 of file testdir.c.

◆ test_remove()

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

< Type

Definition at line 143 of file testdir.c.

◆ test_remove_notthere()

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

Definition at line 243 of file testdir.c.

◆ test_removeall()

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

Definition at line 163 of file testdir.c.

◆ test_removeall_fail()

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

Definition at line 155 of file testdir.c.

◆ test_rewind()

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

< an atomic unix apr_dir_read()

< an atomic unix apr_dir_read()

Definition at line 295 of file testdir.c.

◆ test_rmkdir_nocwd()

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

< use OS's default permissions

<

Deprecated:
See also
APR_FPROT_OS_DEFAULT

Definition at line 369 of file testdir.c.

◆ test_uncleared_errno()

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

< Type

< ->name in proper case

< use OS's default permissions

<

Deprecated:
See also
APR_FPROT_OS_DEFAULT

< 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

< use OS's default permissions

<

Deprecated:
See also
APR_FPROT_OS_DEFAULT

Definition at line 317 of file testdir.c.

◆ testdir()

abts_suite * testdir ( abts_suite suite)

Definition at line 389 of file testdir.c.