summaryrefslogtreecommitdiff
path: root/tests/assert-install.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-11-10 11:53:22 -0300
committerEuAndreh <eu@euandre.org>2023-11-10 11:53:22 -0300
commit1a4710c8c746f8548c9bd5948cef78d612e63a58 (patch)
treedd2d184bd149fbbb0c461d9b04f95aba8bbde148 /tests/assert-install.sh
parenttests/assert-clean.sh: Enforce correctness of "make clean" (diff)
downloadpapod-1a4710c8c746f8548c9bd5948cef78d612e63a58.tar.gz
papod-1a4710c8c746f8548c9bd5948cef78d612e63a58.tar.xz
tests/assert-*: Use standartized STDERR message format
Diffstat (limited to 'tests/assert-install.sh')
-rwxr-xr-xtests/assert-install.sh6
1 files changed, 3 insertions, 3 deletions
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