#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <atalk/cnid.h>
#include <atalk/directory.h>
#include <atalk/globals.h>
#include <atalk/logger.h>
#include <atalk/queue.h>
#include <atalk/util.h>
#include <atalk/volume.h>
#include "afp_config.h"
#include "dircache.h"
#include "directory.h"
#include "hash.h"
#include "subtests.h"
#include "volume.h"
Go to the source code of this file.
◆ TEST
Value: printf("Testing: %s ... ", (#a) ); \
alignok(strlen(#a)); \
a; \
printf("[ok]\n");
◆ TEST_expr
#define TEST_expr |
( |
| a, |
|
|
| b ) |
Value: printf("Testing: %s ... ", (#a) ); \
alignok(strlen(#a)); \
a; \
if (b) { \
printf("[ok]\n"); \
} else { \
printf("[error]\n"); \
exit(1); \
}
◆ TEST_int
#define TEST_int |
( |
| a, |
|
|
| b ) |
Value: printf("Testing: %s ... ", (#a) ); \
alignok(strlen(#a)); \
if ((
reti = (a)) != b) { \
printf("[error]\n"); \
exit(1); \
} else { printf("[ok]\n"); }
static int reti
Definition subtests.c:40
◆ alignok()