test: improve skipped message for topic
The skipped message should point people to a way to solve the situation.
--- a/tests/test-evolve-topic.t Mon May 02 18:40:21 2016 +0200
+++ b/tests/test-evolve-topic.t Thu May 05 20:14:39 2016 +0200
@@ -1,7 +1,10 @@
Check we can find the topic extensions
- $ [ -e $TOPICROOT/hgext3rd/topic/__init__.py ] || exit 80
+ $ [ -z "$TOPICROOT" ] && echo 'skipped: $TOPICROOT not set' >&2 && exit 80
+ [1]
+ $ [ ! -e $TOPICROOT/hgext3rd/topic/__init__.py ] && echo 'skipped: no topic repo found at $TOPICROOT' >&2 && exit 80
+ [1]
$ cat >> $HGRCPATH <<EOF
> [defaults]
> amend=-d "0 0"