On 12/21/23 13:46, Alan Coopersmith wrote:
On Solaris 11.4, /bin/sh is currently a somewhat modified ksh93u+ -
we're working to resync with the new community upstream still.
In that shell, when I run:
printf "test" </dev/null >/dev/full
it prints nothing and $? is set to 0.
The same happens with /usr/bin/printf instead of the shell builtin.
If I run bash instead, with its builtin printf, I see:
bash-5.2$ printf "test" </dev/null >/dev/full
bash: printf: write error: No space left on device
which is presumably what the test suite is expecting.
--
-Alan Coopersmith- alan.coopersm...@oracle.com
Oracle Solaris Engineering - https://blogs.oracle.com/solaris