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
593473bfcd
commit
cd2ea18f1d
@ -303,6 +303,7 @@ ATF_TC_BODY(fopen_perm, tc)
|
|||||||
ATF_REQUIRE_ERRNO(EACCES, fopen("/bin/ls", "w+") == NULL);
|
ATF_REQUIRE_ERRNO(EACCES, fopen("/bin/ls", "w+") == NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __NetBSD__
|
||||||
ATF_TC(fopen_regular);
|
ATF_TC(fopen_regular);
|
||||||
ATF_TC_HEAD(fopen_regular, tc)
|
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_WITH_CLEANUP(fopen_seek);
|
||||||
ATF_TC_HEAD(fopen_seek, tc)
|
ATF_TC_HEAD(fopen_seek, tc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user