df no longer corrupts displayed multibyte characters on macOS.
[bug introduced with coreutils-8.18]
+ sync no longer fails for write-only file arguments.
+ [bug introduced with argument support to sync in coreutils-8.24]
+
** Changes in behavior
echo now always processes backslash escapes when the POSIXLY_CORRECT
approach is still used in situations where hard links to directories
are allowed (e.g., NetBSD when superuser).
-** Changes in behavior
-
'test -a FILE' is not supported anymore. Long ago, there were concerns about
the high probability of humans confusing the -a primary with the -a binary
operator, so POSIX changed this to 'test -e FILE'. Scripts using it were
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ sync
-touch file
+touch file || framework_failure_
# fdatasync+syncfs is nonsensical
returns_ 1 sync --data --file-system || fail=1
# Test syncing of file (fsync) (little side effects)
sync file || fail=1
+# Test syncing of write-only file - which failed since adding argument
+# support to sync in coreutils-8.24.
+chmod 0200 file || framework_failure_
+sync file || fail=1
+
# Ensure multiple args are processed and diagnosed
returns_ 1 sync file nofile || fail=1