summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/build.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/build.sh b/tests/build.sh
index 91fb172..01eafd1 100755
--- a/tests/build.sh
+++ b/tests/build.sh
@@ -22,7 +22,7 @@ set -eu
. "${TOP_SRCDIR}/tests/aux/tap-functions.sh"
. "${TOP_SRCDIR}/tests/aux/common.sh"
-plan_ 3
+plan_ 4
mkdir -p "${TOP_BUILDDIR}/tests/pkg/"
if [ x"${TOP_BUILDDIR}" != x"${TOP_SRCDIR}" ]; then
@@ -34,6 +34,12 @@ OPK_WORK_AREA="${TOP_BUILDDIR}/tests/pkg/" command_ok_ 'mknod' -- \
"${TOP_BUILDDIR}/mknod${EXEEXT}" \
"${TOP_BUILDDIR}/tests/pkg/data/dev/null" c 1 3
+cmd_is 'specials file' cat "${TOP_BUILDDIR}/tests/pkg/specials" 0<<-EOF
+ version=1
+ type major minor name
+ c 1 3 /dev/null
+ EOF
+
SOURCE_DATE_EPOCH=1685592000 command_ok_ 'package building' -- \
"${TOP_BUILDDIR}/opkg-opk" \
-b \