You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by se...@apache.org on 2008/02/19 15:24:14 UTC

svn commit: r629107 - in /webservices/axis2/trunk/c/util/test/rand: build.sh rand_test.c

Author: senaka
Date: Tue Feb 19 06:24:10 2008
New Revision: 629107

URL: http://svn.apache.org/viewvc?rev=629107&view=rev
Log:
Added minor fixes to rand test

Modified:
    webservices/axis2/trunk/c/util/test/rand/build.sh
    webservices/axis2/trunk/c/util/test/rand/rand_test.c

Modified: webservices/axis2/trunk/c/util/test/rand/build.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/test/rand/build.sh?rev=629107&r1=629106&r2=629107&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/test/rand/build.sh (original)
+++ webservices/axis2/trunk/c/util/test/rand/build.sh Tue Feb 19 06:24:10 2008
@@ -1,3 +1,3 @@
 #!/bin/bash
 
-gcc rand_test.c ../util/create_env.c -g -Werror -I$AXIS2C_HOME/include/axis2-1.3.0 -L$AXIS2C_HOME/lib -laxutil -laxis2_axiom -laxis2_parser -o rand_test 
+gcc rand_test.c ../util/create_env.c -g -Werror -I$AXIS2C_HOME/include/axis2-1.3.0 -L$AXIS2C_HOME/lib -laxutil -laxis2_axiom -laxis2_parser -o rand_test -ldl -Wl,--rpath -Wl,$AXIS2C_HOME/lib 

Modified: webservices/axis2/trunk/c/util/test/rand/rand_test.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/test/rand/rand_test.c?rev=629107&r1=629106&r2=629107&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/test/rand/rand_test.c (original)
+++ webservices/axis2/trunk/c/util/test/rand/rand_test.c Tue Feb 19 06:24:10 2008
@@ -21,7 +21,7 @@
     }
     
     rand_range = axutil_rand_with_range(&seed,start,end);
-    if(!rand_range)
+    if(rand_range == -1)
     {
         printf("Test axutil_rand_with_range failed\n");
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org