test.c revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 2003-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* sort -lsync exit test stubs
*/
#include <ss.h>
typedef struct State_s
{
unsigned long count;
int status;
int pretty;
char* sp;
} State_t;
static int
{
char* s;
char env[32];
{
s = "";
}
{
case 'A':
case 'R':
break;
case 'C':
break;
case 'D':
break;
case 'I':
break;
case 'M':
{
case 'a':
break;
case 'c':
break;
case 'd':
break;
case 'e':
break;
}
break;
case 'T':
break;
}
sfprintf(sfstderr, "sort exit E%02d %lu %c [%u] \"%-.*s\"\n", index, state->count, state->pretty, rp->datalen, rp->datalen ? (rp->datalen - 1) : 0, rp->data);
}
#ifdef __EXPORT__
#define extern extern __EXPORT__
#endif
#undef extern