this test, now that all it does is cancel --interactive (-i).
#!/bin/sh
-# move a file onto itself with --force
+# move a file onto itself
if test "$VERBOSE" = yes; then
set -x
export LANG
# This mv command should exit nonzero.
-mv --force $ff $ff > out 2>&1 && fail=1
+mv $ff $ff > out 2>&1 && fail=1
cat > exp <<EOF
mv: \`$ff' and \`$ff' are the same file
# This should succeed, even though the source and destination
# device and inodes are the same.
-mv --force $ff $ff2 || fail=1
+mv $ff $ff2 || fail=1
rm -fr out exp $ff $ff2