From 8322f7e252c32fbe5dfac94305415cbe7c73ea34 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Tue, 1 Mar 2011 10:38:53 +0100 Subject: [PATCH] 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). --- ChangeLog | 7 +++++++ tests/self-check-unindent.test | 38 ++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/ChangeLog b/ChangeLog index a624ea44e..456b8b430 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-03-01 Stefano Lattarini + + 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 test defs: unindent without temporary file diff --git a/tests/self-check-unindent.test b/tests/self-check-unindent.test index 4672683de..3f7edd962 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 < exp < got +diff exp got + : -- 2.47.2