#!/bin/sh
# cp from 3.16 fails this test
-# Copyright (C) 1997, 1999, 2002, 2004, 2006-2008 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1999, 2002, 2004, 2006-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
ln -s ../a/foo .
cd ..
-fail=0
# It should fail with a message something like this:
# ./cp: `a/foo' and `b/foo' are the same file
test "`cat a/foo`" = $msg || fail=1
-(exit $fail); exit $fail
+Exit $fail