diff --git a/tests/test-help.out b/tests/test-help.out
deleted file mode 100644
index d8c0ad930b3ca6b192eb29e0cb7ac769d77e27b3_dGVzdHMvdGVzdC1oZWxwLm91dA==..0000000000000000000000000000000000000000
--- a/tests/test-help.out
+++ /dev/null
@@ -1,4 +0,0 @@
- hggit push and pull from a Git server
- git Working with Git Repositories
-For more information and instructions, see "hg help git"
-Working with Git Repositories
diff --git a/tests/test-help b/tests/test-help.t
similarity index 0%
rename from tests/test-help
rename to tests/test-help.t
index d8c0ad930b3ca6b192eb29e0cb7ac769d77e27b3_dGVzdHMvdGVzdC1oZWxw..0612a5e6c209b699676b96d391a6fd4c1834bf2a_dGVzdHMvdGVzdC1oZWxwLnQ= 100755
--- a/tests/test-help
+++ b/tests/test-help.t
@@ -1,2 +1,2 @@
-#!/bin/sh
+Tests that the various help files are properly registered
 
@@ -2,3 +2,4 @@
 
-# Tests that the various help files are properly registered
+  $ echo "[extensions]" >> $HGRCPATH
+  $ echo "hggit=$(echo $(dirname $TESTDIR))/hggit" >> $HGRCPATH
 
@@ -4,7 +5,8 @@
 
-echo "[extensions]" >> $HGRCPATH
-echo "hggit=$(echo $(dirname $(dirname $0)))/hggit" >> $HGRCPATH
-
-hg help | grep 'git' | sed 's/  */ /g'
-hg help hggit | grep 'help git' | sed 's/:hg:`help git`/"hg help git"/g'
-hg help git | grep 'Working with Git Repositories'
+  $ hg help | grep 'git' | sed 's/  */ /g'
+   hggit push and pull from a Git server
+   git Working with Git Repositories
+  $ hg help hggit | grep 'help git' | sed 's/:hg:`help git`/"hg help git"/g'
+  For more information and instructions, see "hg help git"
+  $ hg help git | grep 'Working with Git Repositories'
+  Working with Git Repositories