logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: a08ea26e4740cef945dc825b99e6a332cc6150ac
parent c7a3625f39f98c656950bfe026f608d5400abe9b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 12 Jul 2023 20:25:31 +0200

test-cmd/lolcat: Fix ENOSPACE fixture

Diffstat:

Mtest-cmd/lolcat6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test-cmd/lolcat b/test-cmd/lolcat @@ -49,9 +49,9 @@ devfull_body() { [ "$(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:\nlolcat: Error writing: No space left on device\n' sh -c '../cmd/lolcat inputs/all_bytes >/dev/full' - atf_check -s exit:1 -e 'inline:\nlolcat: Error writing: No space left on device\n' sh -c '../cmd/lolcat <inputs/all_bytes >/dev/full' - atf_check -s exit:1 -e 'inline:\nlolcat: Error writing: No space left on device\n' sh -c '../cmd/lolcat - <inputs/all_bytes >/dev/full' + atf_check -s exit:1 -e 'inline:\nlolcat: Write error: No space left on device\n' sh -c '../cmd/lolcat inputs/all_bytes >/dev/full' + atf_check -s exit:1 -e 'inline:\nlolcat: Write error: No space left on device\n' sh -c '../cmd/lolcat <inputs/all_bytes >/dev/full' + atf_check -s exit:1 -e 'inline:\nlolcat: Write error: No space left on device\n' sh -c '../cmd/lolcat - <inputs/all_bytes >/dev/full' } atf_test_case readslash