chiark / gitweb /
test suite: gdr-subcommands: Use $peel, not $work, for a few checks
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Aug 2018 17:46:54 +0000 (18:46 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Aug 2018 17:50:34 +0000 (18:50 +0100)
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 <ijackson@chiark.greenend.org.uk>
tests/tests/gdr-subcommands

index e94f83e308765a878b45d444245377e8196830f0..b739fd77c954348f3efea8623af16a3fbf4546f4 100755 (executable)
@@ -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
                ;;