atf icon indicating copy to clipboard operation
atf copied to clipboard

Libraries to write tests in C, C++ and shell

Results 27 atf issues
Sort by recently updated
recently updated
newest added

gcc 11.0.1 ``` atf-c/check.c: In function 'cleanup_tmpdir': atf-c/check.c:100:21: warning: unused variable 'err' [-Wunused-variable] 100 | atf_error_t err = atf_fs_rmdir(dir); | ^~~ atf-c/check.c: In function 'atf_check_exec_array': atf-c/check.c:467:21: warning: unused variable 'err2'...

@jansucan discovered that if an ATF test case enters capability mode with `cap_enter`, then it won't be able to write the results file. It seems like this would be easy...

Discussed in https://reviews.freebsd.org/D7597. It looks like FreeBSD will disable tests when building without C++, as some ATF components require a C++ compiler. I don't believe this is a high priority...

…d. relax the const constraints to allow the array to be freed.

cla: no

On Solaris, getopt(3) is in stdio.h.

cla: no

If you fork a process that will exit on a signal, there is no helper function to allow you to check which signal the process exited w/. The _wait function...

atf-sh/atf-check.cpp:592]: (performance) Function parameter 'oc' should be passed by const reference. I couldn't find the source code for the next two: tools/user.cpp:55]: (performance) Function parameter 'ids' should be passed by...

No offense but README does little for me (meaning a complete beginner on ATF) to understand basic structure of tests and the functionality of ATF. Some further reference to information...

I had to manually execute an ATF test program in a loop with gdb in order reproduce the issue noted in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215715 . I shouldn't have to do this --...