Displaying 3 results from an estimated 3 matches for "check_test".
Did you mean:
check_tests
2018 Feb 14
1
[PATCH] inspect: use check_tests also for detecting Hurd
...le "/etc/debian_version" ~followsymlinks:true then (
- let distro = DISTRO_DEBIAN in
- ignore (parse_generic distro "/etc/debian_version" data)
- );
- (* Arch Hurd also exists, but inconveniently it doesn't have
- * the normal /etc/arch-release file. XXX
- *)
+ check_tests data linux_root_tests;
(* Determine the architecture. *)
data.arch <- check_architecture ();
--
2.14.3
2017 Aug 09
0
[PATCH v12 09/11] daemon: Implement inspection of Linux and other Unix-like operating systems.
...e_generic DISTRO_ALPINE_LINUX;
+ "/etc/frugalware-release", parse_generic ~rex:re_frugalware
+ DISTRO_FRUGALWARE;
+ "/etc/pld-release", parse_generic ~rex:re_pldlinux
+ DISTRO_PLD_LINUX;
+]
+
+let rec check_tests data = function
+ | (release_file, parse_fun) :: tests ->
+ if verbose () then
+ eprintf "check_tests: checking %s\n%!" release_file;
+ if Is.is_file ~followsymlinks:true release_file then (
+ if parse_fun release_file data then () (* true => finished *)
+...
2017 Aug 09
16
[PATCH v12 00/11] Reimplement inspection in the daemon.
This fixes almost everything. Note that it adds an extra commit which
fixes the whole utf8/iconv business.
It's probably better to list what isn't fixed:
(1) I didn't leave the osinfo code around because I'm still haven't
looked too closely at virt-builder-repository. Can't we just fetch
this code from the git history when we need it?
(2) I didn't change the way