From: Zoran V. <vas...@us...> - 2005-10-08 09:31:46
|
Update of /cvsroot/naviserver/naviserver/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9710/tests Modified Files: ns_hostbyaddr.test Log Message: Resolving 0.0.0.0 on Darwin always succeeds hence this test is constrainted on "nonDarwin". Index: ns_hostbyaddr.test =================================================================== RCS file: /cvsroot/naviserver/naviserver/tests/ns_hostbyaddr.test,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ns_hostbyaddr.test 3 Apr 2005 06:38:01 -0000 1.2 --- ns_hostbyaddr.test 8 Oct 2005 09:31:37 -0000 1.3 *************** *** 35,39 **** namespace import -force ::tcltest::* ! test ns_hostbyaddr-1.1 {good address} -body { --- 35,39 ---- namespace import -force ::tcltest::* ! tcltest::testConstraint notDarwin [expr {$::tcl_platform(os) != "Darwin"}] test ns_hostbyaddr-1.1 {good address} -body { *************** *** 41,49 **** } -match glob -result localhost* ! test ns_hostbyaddr-1.2 {bad address} -body { ns_hostbyaddr 0.0.0.0 } -returnCodes error -result {could not lookup 0.0.0.0} - cleanupTests --- 41,48 ---- } -match glob -result localhost* ! test ns_hostbyaddr-1.2 {bad address} -constraints {notDarwin} -body { ns_hostbyaddr 0.0.0.0 } -returnCodes error -result {could not lookup 0.0.0.0} cleanupTests |