X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/eff17c6baeb62c32a79ec6720c3c873f6ba778be..b6586079958a36632a2773e1aacce15bbf431a77:/t/t1400-patch-history.sh diff --git a/t/t1400-patch-history.sh b/t/t1400-patch-history.sh index b182838..5b842d0 100755 --- a/t/t1400-patch-history.sh +++ b/t/t1400-patch-history.sh @@ -44,8 +44,11 @@ test_expect_success \ test_expect_success \ 'Check the log annotation' \ ' - stg log foo | grep -q -e "\[refresh\] foo notes " - stg log bar | grep -q -e "\[refresh\] " + stg log foo | grep -q -e "\[refresh\] foo notes " && + stg log bar | grep -q -e "\[refresh\] " && + stg refresh -p foo --annotate="foo notes 2" && + stg log foo | grep -q -v -e "\[refresh\] foo notes " && + stg log foo | grep -q -e "\[refresh\] foo notes 2" ' test_expect_success \ @@ -61,7 +64,7 @@ test_expect_success \ 'Check the "push(f)" log' \ ' stg pop && - stg refresh -m "Foo2 Patch" && + stg edit -m "Foo2 Patch" && stg push && stg log --full | grep -q -e "^push(f) " '