logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: 5a8a7ba1a8fb059d9c82265e6eb371ebd3ad7e67
parent c06402da2e61696c5f1574a53975b0841e2a3b43
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 19 Feb 2022 00:03:50 +0100

test-bin/env:devfull: atf_expect_fail on NetBSD/FreeBSD

Diffstat:

Mtest-bin/env3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/test-bin/env b/test-bin/env @@ -21,6 +21,9 @@ iflag_body() { atf_test_case devfull devfull_body() { + [ "$(uname -s)" = "NetBSD" ] && atf_expect_fail "NetBSD ignoring write errors for puts()" + [ "$(uname -s)" = "FreeBSD" ] && atf_expect_fail "FreeBSD ignoring write errors for puts()" + atf_check -s exit:1 -e 'inline:env: puts: No space left on device\n' sh -c '../bin/env >/dev/full' }