X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fgetter%2Ftest.ml;h=6fa236fd04a10b7b1868dba98fad300ae0f5cde9;hb=12f52743d6334941294b857016de05942e89a584;hp=d53e42bbb08868b93c5bc49c1a9a29e4c79c5588;hpb=da6e39e544f2bcb3fdddd18507f9f7f076161a14;p=helm.git diff --git a/helm/ocaml/getter/test.ml b/helm/ocaml/getter/test.ml index d53e42bbb..6fa236fd0 100644 --- a/helm/ocaml/getter/test.ml +++ b/helm/ocaml/getter/test.ml @@ -1,15 +1,12 @@ +(* $Id$ *) let _ = Helm_registry.load_from "foo.conf.xml" -let fname = - Http_getter.getxml ~format:`Normal ~patch_dtd:true - "cic:/Coq/Init/Logic/False.ind" -in +let fname = Http_getter.getxml ~format:`Normal ~patch_dtd:true Sys.argv.(1) in let ic = open_in fname in (try while true do let line = input_line ic in print_endline line done -with End_of_file -> ()); -Sys.remove fname +with End_of_file -> ())