bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] init.sh: fix typo


From: Jim Meyering
Subject: [PATCH] init.sh: fix typo
Date: Mon, 05 Apr 2010 16:11:40 +0200

Annoying to have missed this...

>From 50e8c42eba9bd52548e0de3fec113ab2ea1e0f4b Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 5 Apr 2010 16:10:05 +0200
Subject: [PATCH] init.sh: fix typo

* tests/init.sh: Restore omitted ":" before stderr_fileno_ initialization.
---
 ChangeLog     |    3 +++
 tests/init.sh |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b0dfa6b..d92487b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-04-05  Jim Meyering  <address@hidden>

+       init.sh: fix typo
+       * tests/init.sh: Restore omitted ":" before stderr_fileno_ 
initialization.
+
        init.sh: make it easier for a test script to write to the tty, ...
        when using automake's parallel-tests mode.
        * tests/init.sh (stderr_fileno_): Define overridable variable.
diff --git a/tests/init.sh b/tests/init.sh
index 23ab131..3e3ea44 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -102,7 +102,7 @@ Exit () { set +e; (exit $1); exit $1; }
 # of TESTS_ENVIRONMENT in your tests/Makefile.am file.
 # This is useful when using automake's parallel tests mode, to print
 # the reason for skip/failure to console, rather than to the .log files.
-${stderr_fileno_=2}
+: ${stderr_fileno_=2}

 warn_() { echo "$@" 1>&$stderr_fileno_; }
 fail_() { warn_ "$ME_: failed test: $@"; Exit 1; }
--
1.7.0.4.552.gc303




reply via email to

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