summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-19 18:46:54 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-19 18:50:34 +0100
commitfc36b5b71a33e555d92d368beffeb2735fbe0010 (patch)
treebbcb6e84857296917f22f42679999d3df812f3c3
parent06ca3d10eaaef0601ade86265e49a32912992a5f (diff)
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 <ijackson@chiark.greenend.org.uk>
-rwxr-xr-xtests/tests/gdr-subcommands4
1 files changed, 2 insertions, 2 deletions
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
;;