comparison scripts/help/doc.m @ 9289:eaf4e71e90e8

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.
author Rafael Laboissiere <rafael@debian.org>
date Tue, 02 Jun 2009 23:15:56 +0200
parents c0cef1436788
children f22bbc5d56e9
comparison
equal deleted inserted replaced
9288:7621f0b0e588 9289:eaf4e71e90e8
104 print_usage (); 104 print_usage ();
105 endif 105 endif
106 106
107 endfunction 107 endfunction
108 108
109 %!test if exist( info_file ()) != 2 109 %!test if exist( info_file ()) != 2 && exist (sprintf ("%s.gz", info_file ())) != 2
110 %! error ("Info file %s does not exist!", info_file ()); 110 %! error ("Info file %s or %s.gz does not exist!", info_file (), info_file ());
111 %! endif 111 %! endif