commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Inetutils branch, master, updated. inetutils-1_9_2-38-gc10c9f


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_2-38-gc10c9f9
Date: Fri, 29 Aug 2014 23:05:12 +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 "GNU Inetutils ".

The branch, master has been updated
       via  c10c9f97862ce98439f1e52b2922235d5b997e3a (commit)
      from  4a46c58ba2f722e5142e5d72d69018eb52254a6a (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.savannah.gnu.org/cgit/inetutils.git/commit/?id=c10c9f97862ce98439f1e52b2922235d5b997e3a


commit c10c9f97862ce98439f1e52b2922235d5b997e3a
Author: Mats Erik Andersson <address@hidden>
Date:   Fri Aug 29 23:57:48 2014 +0200

    tests/libls.sh: Avoid a false negative outcome.
    
    Take precaution during code coverage runs.

diff --git a/ChangeLog b/ChangeLog
index c4dd37b..e0dd174 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-08-29  Mats Erik Andersson  <address@hidden>
+
+       * tests/libls.sh: Add a dummy execution of $LS in order
+       to avoid a false negative caused by code coverage runs.
+
 2014-08-13  Mats Erik Andersson  <address@hidden>
 
        * tests/libls.sh <VERBOSE>: Execute `set -x'.
diff --git a/tests/libls.sh b/tests/libls.sh
index f69a559..cbb8408 100755
--- a/tests/libls.sh
+++ b/tests/libls.sh
@@ -46,6 +46,13 @@ if test -n "${VERBOSE:+set}"; then
     set -x
 fi
 
+# IMPORTANT: Execute an initial call to $LS, just to get going.
+# In case this is a coverage run, as NixOS does, this very first
+# call will create `ls.gcda', whose creation would interfere with
+# the counting after `$LS -a1' and `$LS -A1'.
+#
+$LS -alTt >/dev/null 2>&1
+
 # Several runs with different switches are compared by
 # a simple count of printed lines.
 #

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    5 +++++
 tests/libls.sh |    7 +++++++
 2 files changed, 12 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]