/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1999-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> *
* *
***********************************************************************/
#include "sftest.h"
tmain()
{
Sfio_t* f;
int n;
#ifdef DEBUG
#endif
alarm(10);
if(argc > 1)
{ /* coprocess only */
{
#ifdef DEBUG
#endif
}
return 0;
}
/* make coprocess */
for(n = 0; n < 10; ++n)
terror("Did not read back line");
}
terror("Bad write");
terror("Did not get data back");
terror("Wrong data");
terror("Fail on write");
terror("Should have gotten 456789");
if(strcmp(s,"456789") != 0)
terror("Wrong data2");
terror("Should have gotten aaa");
if(strcmp(s,"aaa") != 0)
terror("Wrong data3");
sfclose(f);
texit(0);
}