[PATCH 3/6] tests/fsync-y: skip when no /proc
Dmitry V. Levin
ldv at altlinux.org
Wed May 5 17:16:23 UTC 2021
On Tue, May 04, 2021 at 07:40:55PM +0000, Alyssa Ross wrote:
> ---
> tests/fsync-y.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/fsync-y.c b/tests/fsync-y.c
> index f42f8345..44d474d1 100644
> --- a/tests/fsync-y.c
> +++ b/tests/fsync-y.c
> @@ -17,6 +17,8 @@
> int
> main(void)
> {
> + skip_if_unavailable("/proc/self/fd/");
> +
> char dir[PATH_MAX + 1];
>
> const struct {
Applied, thanks.
--
ldv
More information about the Strace-devel
mailing list