]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* tests/rm/fail-eacces: Skip this test when running as root.
authorJim Meyering <jim@meyering.net>
Sun, 18 Feb 2007 16:40:06 +0000 (17:40 +0100)
committerJim Meyering <jim@meyering.net>
Sun, 18 Feb 2007 16:40:06 +0000 (17:40 +0100)
Reported by Matthew Woehlke.

ChangeLog
tests/rm/fail-eacces

index ecc090da21515147aaa7203dd2ebdbd360011139..a0854d789eb14a332ffc39adec804c0bc4182143 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-02-18  Jim Meyering  <jim@meyering.net>
 
+       * tests/rm/fail-eacces: Skip this test when running as root.
+       Reported by Matthew Woehlke.
+
        * bootstrap: Use "._bootmp" as the temporary directory name,
        not ".#bootmp".  The latter's "#" caused trouble with the new,
        gnulib-added "LINK_WARNING_H = $(top_srcdir)/.#bootmp/..." line.
index 29bc9115459b36cbeb48b47704bb9f418108c048..b322848647ab554c75d1d9b97213d1a908fc0461 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that rm -rf unremovable-non-dir gives a diagnostic.
 
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2006-2007 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
@@ -24,6 +24,7 @@ if test "$VERBOSE" = yes; then
 fi
 
 . $srcdir/../lang-default
+PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
 
 pwd=`pwd`
 t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$