summaryrefslogtreecommitdiff
path: root/tests/chgrp/basic
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-10-18 09:14:36 +0000
committerJim Meyering <jim@meyering.net>2005-10-18 09:14:36 +0000
commitefad655ef46db5cd4817624be99e2fe25f71245c (patch)
tree0a572af704441e378457e1fa245f1409c0c79954 /tests/chgrp/basic
parent9353affeec65cded82f6d5f079364a01ec118622 (diff)
downloadcoreutils-efad655ef46db5cd4817624be99e2fe25f71245c.tar.xz
Add a comment explaining (probably) why this
test fails on OpenBSD 3.2 when run in an NFS-mounted directory.
Diffstat (limited to 'tests/chgrp/basic')
-rwxr-xr-xtests/chgrp/basic5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/chgrp/basic b/tests/chgrp/basic
index de43573ba..fc4eb5a1c 100755
--- a/tests/chgrp/basic
+++ b/tests/chgrp/basic
@@ -81,6 +81,11 @@ test "$VERBOSE" = yes && set +x
chgrp $g2 g
sleep 1
chgrp $g1 f
+
+ # The following no-change chgrp command is supposed to update f's ctime,
+ # but on OpenBSD, it appears to be a no-op for some file system types
+ # (at least NFS) so g's ctime is more recent. This is not a big deal;
+ # this test works fine when the files are on a local file system (/tmp).
chgrp '' f
ls -c -t f g