chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the applied/unapplied commands
[stgit]
/
t
/
t2600-coalesce.sh
diff --git
a/t/t2600-coalesce.sh
b/t/t2600-coalesce.sh
index f13a3094a5ef24d2494340ac6680ce34398ef31a..ef5bf995165d3810df10ab3d144ba8c8eba76f5e 100755
(executable)
--- a/
t/t2600-coalesce.sh
+++ b/
t/t2600-coalesce.sh
@@
-15,17
+15,17
@@
test_expect_success 'Initialize StGit stack' '
'
test_expect_success 'Coalesce some patches' '
'
test_expect_success 'Coalesce some patches' '
- [ "$(echo $(stg
applied
))" = "p0 p1 p2 p3" ] &&
- [ "$(echo $(stg
unapplied
))" = "" ] &&
+ [ "$(echo $(stg
series --applied --noprefix
))" = "p0 p1 p2 p3" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "" ] &&
stg coalesce --name=q0 --message="wee woo" p1 p2 &&
stg coalesce --name=q0 --message="wee woo" p1 p2 &&
- [ "$(echo $(stg
applied
))" = "p0 q0 p3" ] &&
- [ "$(echo $(stg
unapplied
))" = "" ]
+ [ "$(echo $(stg
series --applied --noprefix
))" = "p0 q0 p3" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "" ]
'
test_expect_success 'Coalesce at stack top' '
stg coalesce --name=q1 --message="wee woo wham" q0 p3 &&
'
test_expect_success 'Coalesce at stack top' '
stg coalesce --name=q1 --message="wee woo wham" q0 p3 &&
- [ "$(echo $(stg
applied
))" = "p0 q1" ] &&
- [ "$(echo $(stg
unapplied
))" = "" ]
+ [ "$(echo $(stg
series --applied --noprefix
))" = "p0 q1" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "" ]
'
test_done
'
test_done