view tools/check/README @ 7238:971e7c7411b3

Raise an exception if an error appears on the pipes to our children, and make
sure that the child's pipes are closed even under that exception. Move the
handling of POLLHUP to the end of the loop, so that we guarantee to read any
remaining data from the child if POLLHUP and POLLIN appear at the same time.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Thu Oct 06 10:13:11 2005 +0100 (2005-10-06)
parents 0a4b76b6b5a0
line source
1 Checks for the suitability of a machine for Xen build or install.
2 To check for build suitability use
4 ./chk build
6 To check for install suitability use
8 ./chk install
10 The chk script will run checks in this directory and print
11 the ones that failed. It prints nothing if checks succeed.
12 The chk script exits with 0 on success and 1 on failure.
14 The chk script runs executable files in this directory whose
15 names begin with 'check_'. Files containing CHECK-BUILD
16 are run for the build check, and files containing CHECK-INSTALL
17 are run for the install check.
19 Detailed output from the check scripts is in .chkbuild for build
20 and .chkinstall for install.