/***********************************************************************
* *
* 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 *
* *
* Phong Vo <kpv@research.att.com> *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#include "vctest.h"
static char *Record1[] =
{
"123:cdcd:111.222/3:vv:10\n",
"456:cdcd:222.333/4:uu:20\n",
"789:cdcd:333.111/1:tt:30\n",
};
static char *Record2[] =
{
"123:abab:222.333/4:99:11\n",
"xxx:abab:333.444/1:88:21\n",
"789:abab:444.111/2:77:31\n",
};
int main()
{
terror("rtable plugin not found");
/* construct first half of test data */
dtsz1 = 0;
for(k = 0, r = 0; r < 6; ++r, ++k)
k = 0;
break;
dtsz1 += n;
}
/* construct second half of test data */
for(k = 0, r = 0; r < 6; ++r, ++k)
k = 0;
break;
dtsz2 += n;
}
/* construct encoder */
terror("Can't open Vchuffgroup handle to compress");
terror("Can't open Vcrle handle to compress");
terror("Can't open Vcrle handle to compress");
terror("Vcrtable: could not open handle to encode");
/* construct decoder */
terror("Can't open Vchuffgroup handle to decompress");
terror("Can't open Vcrle handle to decompress");
terror("Can't open Vcrle handle to decompress");
terror("Vcrtable: could not open handle to decode");
/* compress first half */
terror("Vcrtable: fail transforming");
terror("Vcrtable: wrong size of undone data");
terror("Vcrtable: fail decoding");
terror("Vcrtable: results did not match");
/* compress all data */
terror("Vcrtable: fail transforming");
terror("Vcrtable: fail decoding");
terror("Vcrtable: results did not match");
exit(0);
}