[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, porting, updated. de74132cd8ee9d3a54c766
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, porting, updated. de74132cd8ee9d3a54c7661f15d787e0b232d328 |
Date: |
Sun, 24 Mar 2013 07:05:26 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, porting has been updated
via de74132cd8ee9d3a54c7661f15d787e0b232d328 (commit)
from a156fcf57a3739e9589163a3641058586bab244e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=de74132cd8ee9d3a54c7661f15d787e0b232d328
commit de74132cd8ee9d3a54c7661f15d787e0b232d328
Author: Arnold D. Robbins <address@hidden>
Date: Sun Mar 24 09:04:43 2013 +0200
Add check and message for Linux and NFS for readdir.
diff --git a/test/ChangeLog b/test/ChangeLog
index 5a37739..01472c6 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-24 Arnold D. Robbins <address@hidden>
+
+ * Makefile.am (readdir): Add a check for GNU/Linux and NFS directory
+ and issue a warning if so.
+
2013-03-20 Arnold D. Robbins <address@hidden>
* Makefile.am (readdir): Add -a to ls options. -f does not
diff --git a/test/Makefile.am b/test/Makefile.am
index 64823b5..e5a56ce 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1755,6 +1755,10 @@ testext::
@-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ testext.awk
readdir:
+ @if [ "`uname`" = Linux ] && [ "`stat -f . 2>/dev/null | awk 'NR == 2 {
print $$NF }'`" = nfs ]; then \
+ echo This test may fail on GNU/Linux systems when run on an NFS
filesystem.; \
+ echo If it does, try rerunning on an ext'[234]' filesystem. ; \
+ fi
@echo $@
@$(AWK) -f $(srcdir)/readdir.awk $(top_srcdir) > _$@
@ls -afli $(top_srcdir) | sed 1d | $(AWK) -f $(srcdir)/readdir0.awk -v
extout=_$@ > address@hidden
diff --git a/test/Makefile.in b/test/Makefile.in
index b7b443d..0b8906b 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2135,6 +2135,10 @@ testext::
@-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ testext.awk
readdir:
+ @if [ "`uname`" = Linux ] && [ "`stat -f . 2>/dev/null | awk 'NR == 2 {
print $$NF }'`" = nfs ]; then \
+ echo This test may fail on GNU/Linux systems when run on an NFS
filesystem.; \
+ echo If it does, try rerunning on an ext'[234]' filesystem. ; \
+ fi
@echo $@
@$(AWK) -f $(srcdir)/readdir.awk $(top_srcdir) > _$@
@ls -afli $(top_srcdir) | sed 1d | $(AWK) -f $(srcdir)/readdir0.awk -v
extout=_$@ > address@hidden
-----------------------------------------------------------------------
Summary of changes:
test/ChangeLog | 5 +++++
test/Makefile.am | 4 ++++
test/Makefile.in | 4 ++++
3 files changed, 13 insertions(+), 0 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, porting, updated. de74132cd8ee9d3a54c7661f15d787e0b232d328,
Arnold Robbins <=