It's much better to use ! for the part that you actually expect to
fail; that way, the test will still scream if something _else_ goes
wrong.
Signed-off-by: Karl Hasselström <kha@treskal.com>
# as rewinding, and thus heads/origin is not moved, but the stack
# is still correctly rebased
# as rewinding, and thus heads/origin is not moved, but the stack
# is still correctly rebased
'Rewind/rewrite upstream commit and pull it from clone, without --merged' \
'
(cd upstream && echo b >> file2 && stg refresh) &&
'Rewind/rewrite upstream commit and pull it from clone, without --merged' \
'
(cd upstream && echo b >> file2 && stg refresh) &&
+ (cd clone && ! stg pull)