Re: [PATCH 3/2] test: factor out helper function test_must_contain

2015-11-21 Thread Johannes Sixt
Am 20.11.2015 um 21:50 schrieb René Scharfe: Extract a helper function for searching for a pattern in a file and printing the whole file if the pattern is not found. It is useful when starting tests with --verbose for debugging purposes. +# Check if a file contains an expected pattern.

Re: [PATCH 3/2] test: factor out helper function test_must_contain

2015-11-21 Thread René Scharfe
Am 21.11.2015 um 09:11 schrieb Johannes Sixt: > Am 20.11.2015 um 21:50 schrieb René Scharfe: >> Extract a helper function for searching for a pattern in a file and >> printing the whole file if the pattern is not found. It is useful >> when starting tests with --verbose for debugging purposes. >

[PATCH 3/2] test: factor out helper function test_must_contain

2015-11-20 Thread René Scharfe
Extract a helper function for searching for a pattern in a file and printing the whole file if the pattern is not found. It is useful when starting tests with --verbose for debugging purposes. Signed-off-by: Rene Scharfe --- t/t0008-ignores.sh | 10 +-