summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-06-17 18:19:32 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-06-17 18:19:32 (EDT)
commitded7f3b79f65b8b627a26b6228c409bf85ccb59c (patch)
tree2b68f3ea8170844360d3d5295e0587b70862810f /tests
parent3bec9be0e3d64eb6c4f9aa32d94cdcde88c7395c (diff)
tests: Test -s option
Diffstat (limited to 'tests')
-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
: