/***********************************************************************
* *
* 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"
/* to test handling of writing whole lines */
{
char *dt;
ssize_t k;
if(*dt == '\n')
break;
tinfo("Processing a partial line, ok");
return k;
}
tmain()
{
int i;
char *s;
terror("Can't open temp file");
for(i = 0; i < 1000; ++i)
}
for(i = 0; i < 1000; ++i)
}
if(s)
terror("Expecting a null string");
if(!s)
terror("Expecting a non-null string");
terror("Wrong size");
terror("Opening a test stream");
terror("Sfputr failed1");
terror("Sfputr failed2");
terror("Sfputr failed3");
texit(0);
}