mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Skip over t_spawn_open_nonexistent_diag because it requires NetBSD specific
additions to posix_spawn Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
3fd16a3a72
commit
1068aa4201
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272914
|
@ -31,6 +31,9 @@
|
|||
*/
|
||||
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#include <atf-c.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -248,6 +251,7 @@ ATF_TC_BODY(t_spawn_open_nonexistent, tc)
|
|||
posix_spawn_file_actions_destroy(&fa);
|
||||
}
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
ATF_TC(t_spawn_open_nonexistent_diag);
|
||||
|
||||
ATF_TC_HEAD(t_spawn_open_nonexistent_diag, tc)
|
||||
|
@ -283,6 +287,7 @@ ATF_TC_BODY(t_spawn_open_nonexistent_diag, tc)
|
|||
posix_spawn_file_actions_destroy(&fa);
|
||||
posix_spawnattr_destroy(&attr);
|
||||
}
|
||||
#endif
|
||||
|
||||
ATF_TC(t_spawn_fileactions);
|
||||
|
||||
|
@ -376,7 +381,9 @@ ATF_TP_ADD_TCS(tp)
|
|||
{
|
||||
ATF_TP_ADD_TC(tp, t_spawn_fileactions);
|
||||
ATF_TP_ADD_TC(tp, t_spawn_open_nonexistent);
|
||||
#if defined(__NetBSD__)
|
||||
ATF_TP_ADD_TC(tp, t_spawn_open_nonexistent_diag);
|
||||
#endif
|
||||
ATF_TP_ADD_TC(tp, t_spawn_reopen);
|
||||
ATF_TP_ADD_TC(tp, t_spawn_openmode);
|
||||
ATF_TP_ADD_TC(tp, t_spawn_empty_fileactions);
|
||||
|
|
Loading…
Reference in a new issue