mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros
This commit is contained in:
parent
dd7df419bb
commit
bb1f0779b0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290856
|
@ -303,6 +303,7 @@ ATF_TC_BODY(fopen_perm, tc)
|
|||
ATF_REQUIRE_ERRNO(EACCES, fopen("/bin/ls", "w+") == NULL);
|
||||
}
|
||||
|
||||
#ifdef __NetBSD__
|
||||
ATF_TC(fopen_regular);
|
||||
ATF_TC_HEAD(fopen_regular, tc)
|
||||
{
|
||||
|
@ -335,6 +336,7 @@ ATF_TC_BODY(fopen_regular, tc)
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
ATF_TC_WITH_CLEANUP(fopen_seek);
|
||||
ATF_TC_HEAD(fopen_seek, tc)
|
||||
|
|
Loading…
Reference in a new issue