Bug#267142: debian-policy: Sections 10.4 and 6.1 are inconsistent (Posix doesn't say what you think it says)
Russ Allbery <rra@stanford.edu> writes:
> I would say instead that your package doesn't care whether test is a
> builtin or not, but relies on test having a certain set of features.
> Wouldn't that be an easier way of phrasing the limitation in policy?
Yes indeed.
> Any /bin/sh script must work with a minimal POSIX-compliant shell with
> no builtins other than the required ones. /bin/sh scripts must also
> work with any POSIX-compliant implementations of the following basic
> utilities: echo, test, (whatever else we want to list).
> Exceptionally, /bin/sh scripts may assume that echo -n works to
> suppress the output of a newline.
This is OPTION 3 in my original bug report. It does indeed solve the
problem.
Thomas
Reply to: