On Tue, Mar 18, 2014 at 11:45 AM, Pádraig Brady <[email protected]> wrote:
> diff --git a/tests/chmod/c-option.sh b/tests/chmod/c-option.sh
...
> +# This should never warn, but in did when special
> +# bits are set on b (the common case under test)
> +chmod -c -R g+w a 2>err
> +test -s err && fail=1

Thanks for adding the test.
I have a small preference for using compare-vs-/dev/null rather than
"test -s," since the former will print the unexpected output in the log,
while the latter won't. So maybe this instead?

  compare /dev/null err || fail=1



Reply via email to