- test $(stg applied -c) -eq 3 &&
- test $(cat foo1.txt) == "foo1" &&
- test $(cat foo2.txt) == "foo2" &&
- test $(cat foo3.txt) == "foo3"
+ [ "$(echo $(stg series --applied --noprefix))" = "p1 p2 p3" ] &&
+ [ "$(echo $(stg series --unapplied --noprefix))" = "" ] &&
+ test $(cat foo1.txt) = "foo1" &&
+ test $(cat foo2.txt) = "foo2" &&
+ test $(cat foo3.txt) = "foo3"