logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git
commit: 3e122d2c07a01cedf2af6625c6bf227d05ea57ca
parent af17b623d3cdabb3767e3b2602fc0ad96af2c53d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 19 Sep 2024 11:07:24 +0200

Clean out Kyua & ATF

Diffstat:

M.builds/freebsd.yml1-
M.builds/netbsd.yml1-
MMakefile3+--
MREADME.md3---
Dtest-cmd/Kyuafile53-----------------------------------------------------
5 files changed, 1 insertion(+), 60 deletions(-)

diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml @@ -3,7 +3,6 @@ image: freebsd/latest packages: - - kyua - gcc - devel/cram sources: diff --git a/.builds/netbsd.yml b/.builds/netbsd.yml @@ -3,7 +3,6 @@ image: netbsd/latest packages: - - kyua - clang # FIXME: cram/prysk on NetBSD, where? sources: diff --git a/Makefile b/Makefile @@ -37,8 +37,7 @@ selfcheck-libs: $(TEST_LIBS) # Manpages with examples that cram/prysk can grok MAN_EXAMPLES = cmd/readlink.1 .PHONY: check -check: all check-man selfcheck-libs $(TEST_CMDS) - LDSTATIC="$(LDSTATIC)" kyua test || (kyua report --verbose --results-filter=broken,failed; false) +check: all check-man selfcheck-libs selfcheck-cmds MALLOC_CHECK_=3 POSIX_ME_HARDER=1 POSIXLY_CORRECT=1 LC_ALL=C.UTF-8 $(CRAM) test-cmd/*.t ${MAN_EXAMPLES} .PHONY: check_status diff --git a/README.md b/README.md @@ -12,9 +12,6 @@ Developed on Linux+musl, automatically tested on FreeBSD and NetBSD thanks to [S - POSIX yacc(1) implementation - POSIX Shell - POSIX.1-2017 Make -- (optional, test) ATF: <https://github.com/jmmv/atf> -- (optional, test) Kyua: <https://github.com/jmmv/kyua> -- (optional, test) bwrap: <https://github.com/containers/bubblewrap/> For safely overlaying false files on the root filesystem - (optional, test) [prysk](https://www.prysk.net/) (or [cram](https://bitheap.org/cram/) but it got abandonned) - (optional, lint) mandoc: <https://mdocml.bsd.lv/> For linting the manual pages diff --git a/test-cmd/Kyuafile b/test-cmd/Kyuafile @@ -1,53 +0,0 @@ --- SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> --- SPDX-License-Identifier: MPL-2.0 -syntax(2) - -test_suite("utils-std commands") - -basedir = fs.dirname(fs.dirname(current_kyuafile())) - --- 9,$|LC_ALL=C.UTF-8 sort -tap_test_program{name="arch.sh", required_files=basedir.."/cmd/arch", timeout=1} -tap_test_program{name="base64.sh", required_files=basedir.."/cmd/base64", timeout=1} -tap_test_program{name="basename.sh", required_files=basedir.."/cmd/basename", timeout=1} -tap_test_program{name="cat.sh", required_files=basedir.."/cmd/cat", timeout=1} -tap_test_program{name="chmod.sh", required_files=basedir.."/cmd/chmod", timeout=1} -tap_test_program{name="cksum.sh", required_files=basedir.."/cmd/cksum", timeout=1} -tap_test_program{name="cmp.sh", required_files=basedir.."/cmd/cmp", timeout=1} -tap_test_program{name="cut.sh", required_files=basedir.."/cmd/cut", timeout=1} -tap_test_program{name="date.sh", required_files=basedir.."/cmd/date", timeout=1} -tap_test_program{name="df.sh", required_files=basedir.."/cmd/df", timeout=1} -tap_test_program{name="dirname.sh", required_files=basedir.."/cmd/dirname", timeout=1} -tap_test_program{name="echo.sh", required_files=basedir.."/cmd/echo", timeout=1} -tap_test_program{name="env.sh", required_files=basedir.."/cmd/env", timeout=1} -tap_test_program{name="expr.sh", required_files=basedir.."/cmd/expr", timeout=1} -tap_test_program{name="false.sh", required_files=basedir.."/cmd/false", timeout=1} -tap_test_program{name="head.sh", required_files=basedir.."/cmd/head", timeout=1} -tap_test_program{name="id.sh", required_files=basedir.."/cmd/id", timeout=1} -tap_test_program{name="join.sh", required_files=basedir.."/cmd/join", timeout=1} -tap_test_program{name="link.sh", required_files=basedir.."/cmd/link", timeout=1} -tap_test_program{name="logname.sh", required_files=basedir.."/cmd/logname", timeout=1} -tap_test_program{name="mkdir.sh", required_files=basedir.."/cmd/mkdir", timeout=1} -tap_test_program{name="mkfifo.sh", required_files=basedir.."/cmd/mkfifo", timeout=1} -tap_test_program{name="mktemp.sh", required_files=basedir.."/cmd/mktemp", timeout=1} -tap_test_program{name="paste.sh", required_files=basedir.."/cmd/paste", timeout=1} -tap_test_program{name="pathchk.sh", required_files=basedir.."/cmd/pathchk", timeout=1} -tap_test_program{name="pwd.sh", required_files=basedir.."/cmd/pwd", timeout=1} -tap_test_program{name="readlink.sh", required_files=basedir.."/cmd/readlink", timeout=1} -tap_test_program{name="realpath.sh", required_files=basedir.."/cmd/realpath", timeout=1} -tap_test_program{name="seq.sh", required_files=basedir.."/cmd/seq", timeout=1} -tap_test_program{name="sha1sum.sh", required_files=basedir.."/cmd/sha1sum", timeout=1} -tap_test_program{name="sha256sum.sh", required_files=basedir.."/cmd/sha256sum", timeout=1} -tap_test_program{name="sha512sum.sh", required_files=basedir.."/cmd/sha512sum", timeout=1} -tap_test_program{name="sleep.sh", required_files=basedir.."/cmd/sleep", timeout=1} -tap_test_program{name="split.sh", required_files=basedir.."/cmd/split", timeout=1} -tap_test_program{name="strings.sh", required_files=basedir.."/cmd/strings", timeout=1} -tap_test_program{name="tee.sh", required_files=basedir.."/cmd/tee", timeout=1} -tap_test_program{name="test.sh", required_files=basedir.."/cmd/test", timeout=2} -tap_test_program{name="touch.sh", required_files=basedir.."/cmd/touch", timeout=1} -tap_test_program{name="true.sh", required_files=basedir.."/cmd/true", timeout=1} -tap_test_program{name="tty.sh", required_files=basedir.."/cmd/tty", timeout=1} -tap_test_program{name="uname.sh", required_files=basedir.."/cmd/uname", timeout=1} -tap_test_program{name="unlink.sh", required_files=basedir.."/cmd/unlink", timeout=1} -tap_test_program{name="wc.sh", required_files=basedir.."/cmd/wc", timeout=1} -tap_test_program{name="yes.sh", required_files=basedir.."/cmd/yes", timeout=1}