The copy tests don't need to invoke cp any longer.
--- a/tests/test-copy
+++ b/tests/test-copy
@@ -5,7 +5,6 @@ echo a > a
hg add a
hg commit -m "1" -d "0 0"
hg status
-cp a b
hg copy a b
hg status
hg --debug commit -m "2" -d "0 0"
--- a/tests/test-copy2
+++ b/tests/test-copy2
@@ -6,7 +6,6 @@ hg add foo
hg commit -m1 -d"0 0"
echo "# should show copy"
-cp foo bar
hg copy foo bar
hg debugstate|grep '^copy'
@@ -25,7 +24,6 @@ hg commit -m3 -d"0 0"
echo "# should not be renamed"
hg debugrename bar
-cp foo bar
hg copy -f foo bar
echo "# should show copy"
hg debugstate|grep '^copy'