Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/utils In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv6781/10.3/stable/main/finkinfo/utils
Modified Files: coreutils.patch Log Message: Pull up a patch to the test harness. Index: coreutils.patch =================================================================== RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/utils/coreutils.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- coreutils.patch 22 Apr 2007 10:17:12 -0000 1.3 +++ coreutils.patch 8 May 2007 09:55:12 -0000 1.4 @@ -46,3 +46,22 @@ # Copyright (C) 2006-2007 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify +diff -Naur coreutils-6.9.orig/tests/rm/fail-2eperm coreutils-6.9/tests/rm/fail-2eperm +--- coreutils-6.9.orig/tests/rm/fail-2eperm 2007-03-18 21:36:44.000000000 +0000 ++++ coreutils-6.9/tests/rm/fail-2eperm 2007-05-02 04:56:38.000000000 +0000 +@@ -52,13 +52,13 @@ + + # Try to ensure that $NON_ROOT_USERNAME can access + # the required version of rm. +-rm_version=`setuidgid $NON_ROOT_USERNAME rm --version|sed -n '1s/.* //p'` ++rm_version=`setuidgid $NON_ROOT_USERNAME env PATH="$PATH" rm --version|sed -n '1s/.* //p'` + case $rm_version in + $PACKAGE_VERSION) ;; + *) echo "$0: cannot access required version ($PACKAGE_VERSION) of rm" 1>&2 + fail=1 ;; + esac +-setuidgid $NON_ROOT_USERNAME rm -rf a 2> out-t && fail=1 ++setuidgid $NON_ROOT_USERNAME env PATH="$PATH" rm -rf a 2> out-t && fail=1 + + # On some systems, we get `Not owner'. Convert it. + # On other systems (HPUX), we get `Permission denied'. Convert it, too. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits