Adapt testsuite following change in Domain Search error handling

In this testsuite, warning() and error() have the same behaviour.

PR:		bin/163431
Sponsored by:	Yakaz (http://www.yakaz.com)
This commit is contained in:
Jean-Sébastien Pédron 2011-12-30 14:41:47 +00:00
parent 33d5b03267
commit 840fac731b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229001

View File

@ -32,7 +32,11 @@ warning(char *fmt, ...)
va_end(ap);
fprintf(stderr, "\n");
return ret;
/*
* The original warning() would return "ret" here. We do this to
* check warnings explicitely.
*/
longjmp(env, 1);
}
int