X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/9536f81891b7cf97916499eaba8d5284ad7ee059..cd4aec96b72dda05135696da85b2d6ce7132bcea:/t/t4000-upgrade.sh diff --git a/t/t4000-upgrade.sh b/t/t4000-upgrade.sh index 8a308fb..b89c720 100755 --- a/t/t4000-upgrade.sh +++ b/t/t4000-upgrade.sh @@ -14,8 +14,8 @@ for ver in 0.12 0.8; do test_expect_success \ "v$ver: Check the list of applied and unapplied patches" ' - [ "$(echo $(stg applied))" = "p0 p1 p2" ] && - [ "$(echo $(stg unapplied))" = "p3 p4" ] + [ "$(echo $(stg series --applied --noprefix))" = "p0 p1 p2" ] && + [ "$(echo $(stg series --unapplied --noprefix))" = "p3 p4" ] ' test_expect_success \ @@ -31,7 +31,7 @@ for ver in 0.12 0.8; do test_expect_success \ "v$ver: Make sure the base ref is no longer there" ' - ! git show-ref --verify --quiet refs/bases/master + must_fail git show-ref --verify --quiet refs/bases/master ' cd ..