logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: 32759972d4df7e79ccc67030d09e6292e58ee34c
parent 90c05aa4a2f433260329a6b65a52a51f52dc1048
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 11 Feb 2022 21:24:44 +0100

test-bin/cat: Skip readslash on NetBSD

Diffstat:

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

diff --git a/test-bin/cat b/test-bin/cat @@ -49,6 +49,8 @@ devfull_body() { atf_test_case readslash readslash_body() { + [ "$(uname -s)" = "NetBSD" ] && atf_skip "NetBSD allows to read directories" + atf_check -s exit:1 -e 'inline:\nError reading ‘/’: Is a directory\n' ../bin/cat / }