From: Eric Sunshine Date: Fri, 25 Mar 2016 23:06:20 GMT Subject: Re: [PATCH v9 2/3] t7507-commit-verbose: make test suite use write_script Message-ID: In-Reply-To: On Fri, Mar 25, 2016 at 2:15 PM, Pranit Bauva wrote: > On Fri, Mar 25, 2016 at 10:34 PM, Eric Sunshine wrote: >> That works too, simplifying the overall implementation, and >> eliminating the need for the introductory patch which moves >> 'test_set_editor' into each test. > > Wouldn't it be cleaner if the introductory patch contain: > 1. using write_script() > 2. grep the output to a file > 3. test for no of lines=1 in required tests > ? You could do that.