logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: 906c0af0ec4c4ba8dc4d68feea25e555c0ad6cc2
parent aa316fac15f9a3acffc34c8be0ef3c57c05242a3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 11 May 2022 11:50:58 +0200

test-bin/lolcat: Free/Net-BSD write error

Diffstat:

Mtest-bin/lolcat2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/test-bin/lolcat b/test-bin/lolcat @@ -43,6 +43,8 @@ noperm_cleanup() { atf_test_case devfull devfull_body() { has_glibc && atf_expect_fail "glibc ignoring write errors for fputc()" + [ "$(uname -s)" = "FreeBSD" ] && atf_expect_fail "FreeBSD badly handling write errors" + [ "$(uname -s)" = "NetBSD" ] && atf_expect_fail "NetBSD badly handling write errors" atf_check -s exit:1 -e 'inline:\nError writing: No space left on device\n' sh -c '../bin/lolcat inputs/all_bytes >/dev/full' atf_check -s exit:1 -e 'inline:\nError writing: No space left on device\n' sh -c '../bin/lolcat <inputs/all_bytes >/dev/full'