From: Stefano Lattarini Date: Tue, 1 Mar 2011 09:38:53 +0000 (+0100) Subject: tests: extend checks on then 'unindent' shell function X-Git-Tag: ng-0.5a~227 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8322f7e252c32fbe5dfac94305415cbe7c73ea34;p=thirdparty%2Fautomake.git 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). --- 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 + :