summaryrefslogtreecommitdiff
path: root/tests/assert-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assert-install.sh')
-rwxr-xr-xtests/assert-install.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/assert-install.sh b/tests/assert-install.sh
deleted file mode 100755
index fd1e037..0000000
--- a/tests/assert-install.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-set -eu
-
-. tools/lib.sh
-
-D="$(mkdtemp)"
-R="$(mkdtemp)"
-trap 'rm -rf "$D" "$R"' EXIT
-
-cp -pR ./ "$R"
-cd "$R"
-
-
-{
- PATH="$D/usr/bin:$PATH"
- NODE_PATH="$D/usr/lib/node:$NODE_PATH"
- make -s DESTDIR="$D" install
-
- printf '%s: that the papo(3js) library is installed correctly...' \
- "$(yellow "$0")"
- node -e 'require("papo");'
- printf ' %s\n' "$(green 'OK')"
-
- printf '%s: that the papo(1) command is installed correctly...' \
- "$(yellow "$0")"
- papo -V | grep -q '^papo '
- printf ' %s\n' "$(green 'OK')"
-} >&2