From fc36b5b71a33e555d92d368beffeb2735fbe0010 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 19 Aug 2018 18:46:54 +0100 Subject: test suite: gdr-subcommands: Use $peel, not $work, for a few checks The definition of P says P result is add-patches, remaining letters apply to result~ But this was not hnoured by N n Z. Honour it. No change with existing tests, which do not follow P with any of those. But, this will be important in a moment, Signed-off-by: Ian Jackson --- tests/tests/gdr-subcommands | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/tests') diff --git a/tests/tests/gdr-subcommands b/tests/tests/gdr-subcommands index e94f83e..b739fd7 100755 --- a/tests/tests/gdr-subcommands +++ b/tests/tests/gdr-subcommands @@ -127,7 +127,7 @@ make_check () { case "$1" in [Nn]*) t-refs-same-start - t-refs-same refs/heads/$before refs/heads/$work + t-refs-same refs/heads/$before refs/heads/$peel ;; U*) t-refs-same-start @@ -177,7 +177,7 @@ make_check () { ;; Z*) t-refs-same-start - t-refs-same refs/heads/$work + t-refs-same refs/heads/$peel t-refs-same refs/heads/before-unstitch/$startbranch t-ref-head ;; -- cgit v1.2.3