From: Ian Jackson Date: Sun, 19 Aug 2018 17:46:54 +0000 (+0100) Subject: test suite: gdr-subcommands: Use $peel, not $work, for a few checks X-Git-Tag: archive/debian/6.7~42 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fc36b5b71a33e555d92d368beffeb2735fbe0010;p=dgit.git 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 --- diff --git a/tests/tests/gdr-subcommands b/tests/tests/gdr-subcommands index e94f83e3..b739fd77 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 ;;