From ded7f3b79f65b8b627a26b6228c409bf85ccb59c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 17 Jun 2023 18:19:32 -0400 Subject: tests: Test -s option --- (limited to 'tests') 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 : -- cgit v0.9.1