tests/test-gpg.t
branchstable
changeset 16345 825565136235
parent 16289 aae219a99a6e
child 16349 425f1fbcfb94
--- a/tests/test-gpg.t	Mon Apr 02 16:46:58 2012 -0500
+++ b/tests/test-gpg.t	Mon Apr 02 22:25:55 2012 +0100
@@ -1,6 +1,10 @@
 Test the GPG extension
 
   $ "$TESTDIR/hghave" gpg || exit 80
+  $ if ! hg identify -q > /dev/null; then
+  >     echo "skipped: not a Mercurial working dir" >&2
+  >     exit 80
+  > fi
   $ cat <<EOF >> $HGRCPATH
   > [extensions]
   > gpg=