* tests/cp/symlink-slash.sh: && : is always redundant.
* tests/ls/symlink-slash.sh: Likewise.
# use the new --strip-trailing-slash option) causing cp to reproduce the
# symlink. Now, the trailing slash is interpreted by the stat library
# call and so cp ends up dereferencing the symlink and copying the directory.
-test "$*" = 'total 0' && : || fail=1
+test "$*" = 'total 0' || fail=1
Exit $fail
set -- $(ls -l symlink/)
# Prior to fileutils-4.0k, the following would have output '... symlink -> dir'.
-test "$*" = 'total 0' && : || fail=1
+test "$*" = 'total 0' || fail=1
# A path ending in '/.' refers to the directory itself, so it must be
# dereferenced and its (empty) contents listed, not the symlink shown.
set -- $(ls -l symlink/.)
-test "$*" = 'total 0' && : || fail=1
+test "$*" = 'total 0' || fail=1
Exit $fail