Re: rcs-5.8 test failure

Thien-Thi Nguyen <[email protected]> Tue, 18 Oct 2011 13:35:21 +0200
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
() "Mr. Aaron W. Swenson" <[email protected]>
() Mon, 17 Oct 2011 20:48:58 -0400

   This patch does the trick. There is still the matter of
   test t150 failing unless KEEPD or VERBOSE is set.

I am guessing that ‘type’ is not the best to use.  Does the
following work for you?  If not, could you post the contents
of t150.d as a gzipped tarball?


 tests/t150 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/t150 b/tests/t150
index 369f906..56e3d39 100644
--- a/tests/t150
+++ b/tests/t150
@@ -33,12 +33,12 @@ rlog
 
 ##
 # Check that each program can be found by the shell
-# (via the ‘type’ command), and that each program displays
+# (via the which(1) command), and that each program displays
 # reasonable output when invoked with ‘--version’ and ‘--help’.
 ##
 
 for p in $programs ; do
-    must 'type $p'
+    must 'which $p'
 
     vcmd="$p --version"
     vout=$wd/version-$p