summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/build.sh15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/build.sh b/tests/build.sh
index 760d9be..883f2e4 100755
--- a/tests/build.sh
+++ b/tests/build.sh
@@ -26,15 +26,14 @@ plan_ 2
mkdir -p "${TOP_BUILDDIR}/tests/"
-# FIXME: Specify specials override file
SOURCE_DATE_EPOCH=1685592000 command_ok_ 'package building' -- \
"${TOP_BUILDDIR}/opkg-opk" \
-b \
-c "${TOP_SRCDIR}/tests/pkg/control/" \
-d "${TOP_SRCDIR}/tests/pkg/data/" \
+ -s "${TOP_SRCDIR}/tests/pkg/specials" \
"${TOP_BUILDDIR}/tests/pkg.opk"
-# FIXME: /dev/null should be a char device
cmd_is 'package info' \
"${TOP_BUILDDIR}/opkg-opk" \
-f control \
@@ -45,12 +44,12 @@ cmd_is 'package info' \
Source: foo
Version: 1.0
- drwxr-xr-x pj/pj 0 2023-06-01 00:00:00 /
- drwxr-xr-x pj/pj 0 2023-06-01 00:00:00 /bin/
- lrwxrwxrwx pj/pj 0 2023-06-01 00:00:00 /bin/false -> true
- -rwxr-xr-x pj/pj 84 2023-06-01 00:00:00 /bin/true
- drwxr-xr-x pj/pj 0 2023-06-01 00:00:00 /dev/
- -rw-r--r-- pj/pj 0 2023-06-01 00:00:00 /dev/null
+ drwxr-xr-x pj/pj 0 2023-06-01 00:00:00 /
+ drwxr-xr-x pj/pj 0 2023-06-01 00:00:00 /bin/
+ lrwxrwxrwx pj/pj 0 2023-06-01 00:00:00 /bin/false -> true
+ -rwxr-xr-x pj/pj 84 2023-06-01 00:00:00 /bin/true
+ drwxr-xr-x pj/pj 0 2023-06-01 00:00:00 /dev/
+ crw-r--r-- pj/pj 1, 3 2023-06-01 00:00:00 /dev/null
EOF
: