Hi All,
I am working on LTP, and came across following bug and posting
a fix for it. I am new to LTP so if I am wrong then please let me know.
LTP have "testcases/bin/rusers01" scripts which is basic test for
the `rusers` command, have following lines:
*rusers $RHOST | grep $RHOST > /dev/null
[ $? -eq 0 ] || end_testcase "rusers $RHOST - failed"
*
If my RHOST machine don't have any user logged in, then
*rusers $RHOST | grep $RHOST > /dev/null*
returns 1, and "testcases/bin/rusers01" test fails. I modified the line as
follows :
*rusers $RHOST > /dev/null*
and test works fine. So, I think its of no use to grep "RHOST" when
there is no user logged in on RHOST, it causes test to fail still
"rusers $RHOST" executes without any error.
Thanks,
Vivek.
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list