tests: fix a bug in the cp/preserve-gid test
authorJim Meyering <meyering@redhat.com>
Sun, 20 Mar 2011 07:56:06 +0000 (08:56 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 21 Mar 2011 06:37:20 +0000 (07:37 +0100)
commit2a3a094e0d9712e69f168a10685975f1a7ed5917
treeecee316c630ffa595a6c03ddf1c85ef348045ce9
parentc20d0e17c3260915f8406c4430ee81f212b2ab18
tests: fix a bug in the cp/preserve-gid test

* tests/cp/preserve-gid: Ensure that every process under test uses
the cp binary we've just built.  Before this fix, with a restrictive
umask or build-dir permissions, the UID-changing tests would end up
using whatever cp happened to be available through $PATH
Analysis by arbogast.cedric@gmail.com in http://debbugs.gnu.org/8292.
tests/cp/preserve-gid