[LTP] [PATCH] add a check to gethostid01 test

2008-10-15 Thread Vinay Sridhar
Hello, The gethostid01 test fails when the host id is not set on a system. The gethostid() call retrieves as the host id. Added a check to compare the return value with 00 (omitted 1st two 0's as they could also be 0x on some systems; needs confirmation). Signed-off by : Vinay

Re: [LTP] [PATCH] add a check to gethostid01 test

2008-10-15 Thread Subrata Modak
On Wed, 2008-10-15 at 14:03 +0530, Vinay Sridhar wrote: Hello, The gethostid01 test fails when the host id is not set on a system. The gethostid() call retrieves as the host id. Added a check to compare the return value with 00 (omitted 1st two 0's as they could also be 0x on