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
/
t2500-clean.sh
diff --git
a/t/t2500-clean.sh
b/t/t2500-clean.sh
index abde9cf7aabe92b1f9eccf9e3cbe265208d59470..99fd29ff1ecc32924997efcb511a5764608ef5cc 100755
(executable)
--- a/
t/t2500-clean.sh
+++ b/
t/t2500-clean.sh
@@
-17,11
+17,11
@@
test_expect_success 'Initialize StGit stack' '
'
test_expect_success 'Clean empty patches' '
'
test_expect_success 'Clean empty patches' '
- [ "$(echo $(stg
applied
))" = "e0 p0 e1" ] &&
- [ "$(echo $(stg
unapplied
))" = "e2" ] &&
+ [ "$(echo $(stg
series --applied --noprefix
))" = "e0 p0 e1" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "e2" ] &&
stg clean &&
stg clean &&
- [ "$(echo $(stg
applied
))" = "p0" ] &&
- [ "$(echo $(stg
unapplied
))" = "" ]
+ [ "$(echo $(stg
series --applied --noprefix
))" = "p0" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "" ]
'
test_expect_success 'Create a conflict' '
'
test_expect_success 'Create a conflict' '
@@
-37,8
+37,8
@@
test_expect_success 'Create a conflict' '
test_expect_success 'Make sure conflicting patches are preserved' '
stg clean &&
test_expect_success 'Make sure conflicting patches are preserved' '
stg clean &&
- [ "$(echo $(stg
applied
))" = "p0 p2 p1" ] &&
- [ "$(echo $(stg
unapplied
))" = "" ]
+ [ "$(echo $(stg
series --applied --noprefix
))" = "p0 p2 p1" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "" ]
'
test_done
'
test_done