From 1a4710c8c746f8548c9bd5948cef78d612e63a58 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 10 Nov 2023 11:53:22 -0300 Subject: tests/assert-*: Use standartized STDERR message format --- tests/assert-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/assert-install.sh') diff --git a/tests/assert-install.sh b/tests/assert-install.sh index 63410ea..99e0fb7 100755 --- a/tests/assert-install.sh +++ b/tests/assert-install.sh @@ -12,16 +12,16 @@ PATH="$D/usr/bin:$PATH" NODE_PATH="$D/usr/lib/node:$NODE_PATH" { - printf 'Assert that the papo(3js) library is installed correctly...' + printf '%s: that the papo(3js) library is installed correctly...' "$0" node -e 'require("papo");' printf ' OK.\n' - printf 'Assert that the papo(1) command is installed correctly...' + printf '%s: that the papo(1) command is installed correctly...' "$0" papo -V | grep -q '^papo ' printf ' OK.\n' make -s DESTDIR="$D" uninstall - printf 'Assert that the "uninstall" target removes everything...' + printf '%s: that the "uninstall" target removes everything...' "$0" if [ "$(find "$D" -not -type d | wc -l)" != 0 ]; then printf ' ERR.\n' cat <<-EOF -- cgit v1.2.3