[PATCH v2 3/3] Add tests with floating-point arguments for err* and verr* functions
Florian Weimer
fweimer@redhat.com
Thu Aug 16 09:28:00 GMT 2018
On 08/15/2018 10:16 PM, Gabriel F. T. Gomes wrote:
> Similarly to what has been done for argp_error, and argp_failure, as
> well as for warn, warnx, vwarn, and vwarnx, this patch adds new tests
> for the following functions: err, errx, verr, verrx, error, and
> error_at_line. The new tests check that the conversion of long double
> variables into string works correctly on the default format of the type.
> Future patches will reuse these tests for other formats that long double
> can take. Since the functions do not return, each of them has its own
> test case file.
You could avoid the shell script with <support/capture_subprocess.h>.
Thanks,
Florian
More information about the Libc-alpha
mailing list