diff --git a/tests/test-install.out b/tests/test-install.out deleted file mode 100644 --- a/tests/test-install.out +++ /dev/null @@ -1,18 +0,0 @@ -% hg debuginstall -Checking encoding (ascii)... -Checking extensions... -Checking templates... -Checking patch... -Checking commit editor... -Checking username... -No problems detected -% hg debuginstall with no username -Checking encoding (ascii)... -Checking extensions... -Checking templates... -Checking patch... -Checking commit editor... -Checking username... - no username supplied (see "hg help config") - (specify a username in your .hgrc file) -1 problems detected, please check your install! diff --git a/tests/test-install b/tests/test-install.t old mode 100755 new mode 100644 rename from tests/test-install rename to tests/test-install.t --- a/tests/test-install +++ b/tests/test-install.t @@ -1,10 +1,23 @@ -#!/bin/sh - -echo '% hg debuginstall' hg debuginstall + $ hg debuginstall + Checking encoding (ascii)... + Checking extensions... + Checking templates... + Checking patch... + Checking commit editor... + Checking username... + No problems detected -echo '% hg debuginstall with no username' -HGUSER= hg debuginstall +hg debuginstall with no username + $ HGUSER= hg debuginstall + Checking encoding (ascii)... + Checking extensions... + Checking templates... + Checking patch... + Checking commit editor... + Checking username... + no username supplied (see "hg help config") + (specify a username in your .hgrc file) + 1 problems detected, please check your install! -# Happy End -true + $ true