logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: 96dbbcb9949ce50e5861464d38c83003072e26f2
parent 73440ef40fe54343336a3cca694c6ce9c310d88e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 11 Mar 2022 22:18:00 +0100

test-bin: Fixes for gentoo ebuild

Diffstat:

Mtest-bin/sname3+++
Mtest-bin/tee4++--
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/test-bin/sname b/test-bin/sname @@ -22,6 +22,9 @@ devfull_body() { atf_init_test_cases() { cd "$(atf_get_srcdir)" || exit 1 + + . ../test_functions.sh + atf_add_test_case generic atf_add_test_case devfull } diff --git a/test-bin/tee b/test-bin/tee @@ -58,9 +58,9 @@ atf_test_case writeslash writeslash_body() { # shellcheck disable=SC1112 if [ "$(uname -s)" = "NetBSD" ]; then - atf_check -s exit:1 -e 'inline:Error opening ‘/’: File exists\n' ../bin/tee / <inputs/all_bytes + atf_check -s exit:1 -e 'inline:Error opening ‘./’: File exists\n' ../bin/tee ./ <inputs/all_bytes else - atf_check -s exit:1 -e 'inline:Error opening ‘/’: Is a directory\n' ../bin/tee / <inputs/all_bytes + atf_check -s exit:1 -e 'inline:Error opening ‘./’: Is a directory\n' ../bin/tee ./ <inputs/all_bytes fi }