# HG changeset patch # User Rafael Laboissiere # Date 1243977356 -7200 # Node ID eaf4e71e90e8d5be01f00993c04c5917af9a2fff # Parent 7621f0b0e588f0e7b206cbaca5c6452db9798190 In test, look also for the gzipped version of the info_file The info program accepts .info files that are compressed with gzip. Consider also the info_file with the suffix ".gz" when doing the test. diff -r 7621f0b0e588 -r eaf4e71e90e8 scripts/ChangeLog --- a/scripts/ChangeLog Tue Jun 02 20:56:19 2009 -0700 +++ b/scripts/ChangeLog Tue Jun 02 23:15:56 2009 +0200 @@ -1,3 +1,8 @@ +2009-06-02 Rafael Laboissiere + + * help/doc.m: In test, look also for the gzipped version of the + info_file + 2009-05-29 John W. Eaton * plot/__gnuplot_get_var__.m: Insert missing semicolon. diff -r 7621f0b0e588 -r eaf4e71e90e8 scripts/help/doc.m --- a/scripts/help/doc.m Tue Jun 02 20:56:19 2009 -0700 +++ b/scripts/help/doc.m Tue Jun 02 23:15:56 2009 +0200 @@ -106,6 +106,6 @@ endfunction -%!test if exist( info_file ()) != 2 -%! error ("Info file %s does not exist!", info_file ()); +%!test if exist( info_file ()) != 2 && exist (sprintf ("%s.gz", info_file ())) != 2 +%! error ("Info file %s or %s.gz does not exist!", info_file (), info_file ()); %! endif