Lines Matching +full:tcs +full:- +full:offset

29 .Nm atf-c ,
95 .Nd C API to write ATF-based test programs
289 C-based test programs follow this template:
290 .Bd -literal -offset indent
291 \&... C-specific includes go here ...
293 #include <atf-c.h>
329 ATF_TP_ADD_TC(tcs, tc1);
330 ATF_TP_ADD_TC(tcs, tc2);
331 ATF_TP_ADD_TC(tcs, tc3);
341 .Xr atf-test-case 4 .
402 The test case's header can define the meta-data by using the
405 case data, the second one specifies the meta-data variable to be set
409 The test case has read-only access to the current configuration variables
445 meta-data variable available in the header only, one can also check for
453 meta-data variable available in the header only, one can also check for
463 unless any non-fatal errors were raised using
481 a user-friendly manner, why the test case failed or was skipped,
493 .Bl -tag -width indent
502 .Sq -1 ,
507 Any failure (be it fatal or non-fatal) raised in this mode is recorded.
535 .Sq -1 ,
633 In particular, these are useful to write tests for command-line interfaces.
640 .Bd -ragged -offset indent
652 .Bd -ragged -offset indent
664 .Bd -ragged -offset indent
678 .Bd -ragged -offset indent
690 .Bd -ragged -offset indent
700 .Bd -ragged -offset indent
711 .Bd -ragged -offset indent
712 Frees a dynamically-allocated array of dynamically-allocated strings.
721 .Bd -ragged -offset indent
736 .Bd -ragged -offset indent
749 .Bd -ragged -offset indent
752 The line, if any, is returned as a dynamically-allocated buffer that must be
764 .Bd -ragged -offset indent
783 .Bd -ragged -offset indent
808 .Bl -tag -width ATFXBUILDXCXXFLAGSXX -compact
825 .Bd -literal -offset indent
826 #include <atf-c.h>
866 ATF_CHECK_ERRNO(ENOENT, open("non-existent", O_RDONLY) == -1);
894 .Xr atf-test-program 1 ,
895 .Xr atf-test-case 4