2 # FIXME: This test requires ln -s.
3 # cp from 3.16 fails this test
5 if test "$VERBOSE" = yes; then
20 # It should fail with a message something like this:
21 # ./cp: `a/foo' and `b/foo' are the same file
22 cp -d a
/foo b
2>/dev
/null
24 # Fail this test if the exit status is not 1
27 test "`cat a/foo`" = $msg || fail
=1