logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: 518becfee61d96d94ad391a5e7950b9d3012cfe8
parent 2ad2f5fd5e92dc1fe38025a3be0865ac4bdb60d5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 11 May 2022 11:45:10 +0200

test-bin/sizeof: Free/Net-BSD error handling

Diffstat:

Mtest-bin/sizeof4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test-bin/sizeof b/test-bin/sizeof @@ -6,7 +6,9 @@ empty_body() { atf_test_case devfull devfull_body() { - has_glibc && atf_expect_fail "glibc ignoring write errors for fputc()" + has_glibc && atf_expect_fail "glibc ignoring write errors for printf()" + [ "$(uname -s)" = "FreeBSD" ] && atf_skip "FreeBSD ignoring write errors for printf()" + [ "$(uname -s)" = "NetBSD" ] && atf_skip "NetBSD ignoring write errors for printf()" atf_check -s exit:1 sh -c '../bin/sizeof >/dev/full' }