[Pkg-ocaml-maint-commits] [SCM] approx upstream and debian packaging branch, upstream, updated. upstream/3.5-28-ga3c01ef
Eric Cooper
ecc at cmu.edu
Mon Sep 7 22:00:06 UTC 2009
The following commit has been merged in the upstream branch:
commit a3c01ef3a66fc7eab4ac2b26ee586e5d5e3fee41
Author: Eric Cooper <ecc at cmu.edu>
Date: Mon Sep 7 17:55:49 2009 -0400
remove unneeded ifaddr test
diff --git a/tests/_tags b/tests/_tags
index 38f7c1f..7682316 100644
--- a/tests/_tags
+++ b/tests/_tags
@@ -10,7 +10,6 @@
# so only additions and deletions to those are needed here
<control_file_test.{byte,native}>: use_syslog
-<ifaddr_test.{byte,native}>: -use_pcre, -use_sha, use_libapprox
<metadata_test.{byte,native}>: use_syslog
<patch_test.{byte,native}>: -use_pcre
<sha1_test.{byte,native}>: -use_pcre
diff --git a/tests/ifaddr_test.ml b/tests/ifaddr_test.ml
deleted file mode 100644
index e87909f..0000000
--- a/tests/ifaddr_test.ml
+++ /dev/null
@@ -1,20 +0,0 @@
-(* approx: proxy server for Debian archive files
- Copyright (C) 2008 Eric C. Cooper <ecc at cmu.edu>
- Released under the GNU General Public License *)
-
-open Printf
-open Unix
-
-let interface =
- match Array.length Sys.argv with
- | 1 -> "eth0"
- | 2 -> Sys.argv.(1)
- | _ -> eprintf "Usage: %s [interface]\n" Sys.argv.(0); exit 1
-
-let () =
- try
- printf "%s: %s\n" interface
- (string_of_inet_addr (Network.interface_address interface))
- with Not_found ->
- eprintf "address of interface %s not found\n" interface;
- exit 1
--
approx upstream and debian packaging
More information about the Pkg-ocaml-maint-commits
mailing list