[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-716-
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-716-g8322f7e |
Date: |
Wed, 02 Mar 2011 11:17:07 +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 Automake".
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=8322f7e252c32fbe5dfac94305415cbe7c73ea34
The branch, master has been updated
via 8322f7e252c32fbe5dfac94305415cbe7c73ea34 (commit)
from a7d37f153d2f5005c73364500f9fa2bf15e2c464 (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 -----------------------------------------------------------------
commit 8322f7e252c32fbe5dfac94305415cbe7c73ea34
Author: Stefano Lattarini <address@hidden>
Date: Tue Mar 1 10:38:53 2011 +0100
tests: extend checks on then 'unindent' shell function
* tests/self-check-unindent.test: Also check that multiple
instances of 'unindent' can run in parallel (this was not
the case when that function used temporary files).
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
tests/self-check-unindent.test | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a624ea4..456b8b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-03-01 Stefano Lattarini <address@hidden>
+
+ tests: extend checks on the 'unindent' shell function
+ * tests/self-check-unindent.test: Also check that multiple
+ instances of 'unindent' can run in parallel (this was not
+ the case when that function used temporary files).
+
2011-03-01 Peter Rosin <address@hidden>
test defs: unindent without temporary file
diff --git a/tests/self-check-unindent.test b/tests/self-check-unindent.test
index 4672683..3f7edd9 100755
--- a/tests/self-check-unindent.test
+++ b/tests/self-check-unindent.test
@@ -74,7 +74,9 @@ last line
END
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
@@ -130,7 +132,9 @@ last line
END
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
@@ -161,7 +165,9 @@ END
cp input exp
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
@@ -185,7 +191,9 @@ bar
END
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
@@ -209,9 +217,39 @@ bar
END
unindent input > got
+diff exp got
+unindent input | unindent > got
diff exp got
#------------------------------------------------------------------
+: More elaborated parallel use
+
+cat > input <<END
+ x
+ ${tab}y
+ z
+ ${tab}a
+ ${tab} b
+${tab}c
+ ${tab}d
+ ${tab}e
+ ${tab}${tab}f
+END
+
+cat > exp <<END
+y
+z
+a
+ b
+c
+ ${tab}d
+ ${tab}e
+${tab}f
+END
+
+unindent input | sed 1d | unindent > got
+diff exp got
+
:
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-716-g8322f7e,
Stefano Lattarini <=