summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodoros V. Kalamatianos <thkala@softlab.ece.ntua.gr>2006-11-24 22:08:33 +0100
committerJim Meyering <jim@meyering.net>2006-11-24 22:08:33 +0100
commitc8092e5db09cf4ae46142305e67c924f8b16837a (patch)
treee15571e07c4f40f3c11e3ff390cd9884dbe0319c
parent8cafe0070a5fee3d078e29819a4a6bb831ea080f (diff)
downloadcoreutils-c8092e5db09cf4ae46142305e67c924f8b16837a.tar.xz
* tests/du/inacc-dest: Skip this test when running as root.
-rw-r--r--ChangeLog4
-rwxr-xr-xtests/du/inacc-dest1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ba53ad1f3..ae913b3ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-24 Theodoros V. Kalamatianos <thkala@softlab.ece.ntua.gr> (tiny change)
+
+ * tests/du/inacc-dest: Skip this test when running as root.
+
2006-11-23 Jim Meyering <jim@meyering.net>
* announce-gen: Remove file. It's moving to gnulib.
diff --git a/tests/du/inacc-dest b/tests/du/inacc-dest
index b8bc5ac37..0ff6b96ec 100755
--- a/tests/du/inacc-dest
+++ b/tests/du/inacc-dest
@@ -26,6 +26,7 @@ fi
. $srcdir/../envvar-check
. $srcdir/../lang-default
+PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
pwd=`pwd`
t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$