##// END OF EJS Templates
tests: don't run test-gpg if not in a working directory...
Javi Merino -
r16345:82556513 stable
parent child Browse files
Show More
@@ -1,6 +1,10 b''
1 1 Test the GPG extension
2 2
3 3 $ "$TESTDIR/hghave" gpg || exit 80
4 $ if ! hg identify -q > /dev/null; then
5 > echo "skipped: not a Mercurial working dir" >&2
6 > exit 80
7 > fi
4 8 $ cat <<EOF >> $HGRCPATH
5 9 > [extensions]
6 10 > gpg=
General Comments 0
You need to be logged in to leave comments. Login now