From: Elijah Newren Date: Mon, 06 Aug 2018 15:25:21 GMT Subject: [PATCH 0/2] Simple fixes to t7406 Message-ID: <20180806152524.27516-1-newren@gmail.com> In-Reply-To: <20180803231407.10662-1-newren@gmail.com> Changes since v1: - Simplify multiple tests using diff --name-only instead of diff --raw; these tests are only interested in which file was modified anyway. (Suggested by Junio) - Avoid putting git commands upstream of a pipe, since we don't run under set -o pipefail (Suggested by Eric) - Avoid using test_must_fail for system binaries (Pointed out by both Eric and Junio) Elijah Newren (2): t7406: simplify by using diff --name-only instead of diff --raw t7406: avoid having git commands upstream of a pipe t7406: make a test_must_fail call fail for the right reason t/t7406-submodule-update.sh | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) -- 2.18.0.548.gd57a518419