mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-07-26 02:30:35 +02:00
* tests/du/slink: Skip the test if executing on an nfsv3 file system.
This avoids a test failure at least on OSF/1 4.0d.
This commit is contained in:
committed by
Jim Meyering
parent
813de08e50
commit
33176a7269
@@ -1,3 +1,8 @@
|
||||
2007-02-23 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* tests/du/slink: Skip the test if executing on an nfsv3 file system.
|
||||
This avoids a test failure at least on OSF/1 4.0d.
|
||||
|
||||
2007-02-23 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* src/date.c (usage): Split a diagnostic that had grown to be
|
||||
|
||||
@@ -51,6 +51,14 @@ if test -s tmp; then
|
||||
(exit 77); exit 77
|
||||
fi
|
||||
|
||||
df --type=nfsv3 . | tail -n +2 > tmp
|
||||
if test -s tmp; then
|
||||
# At least on OSF/1 4.0d, when using an nfsv3 file system,
|
||||
# each created symlink can end up having a size of 0.
|
||||
echo "$0: skipping this test, since \`.' is on an NFS file system" 1>&2
|
||||
(exit 77); exit 77
|
||||
fi
|
||||
|
||||
if test $framework_failure = 1; then
|
||||
echo "$0: failure in testing framework" 1>&2
|
||||
(exit 1); exit 1
|
||||
|
||||
Reference in New Issue
Block a user