Fix compilation error

Change test_info.failed to test_info.result,
as it was previously changed.
diff --git a/tests/suites/target_test.function b/tests/suites/target_test.function
index efee879..89835d2 100644
--- a/tests/suites/target_test.function
+++ b/tests/suites/target_test.function
@@ -375,7 +375,7 @@
     while ( 1 )
     {
         ret = 0;
-        test_info.failed = 0;
+        test_info.result = TEST_RESULT_SUCCESS;
         data_len = 0;
 
         data = receive_data( &data_len );
@@ -433,7 +433,7 @@
         if ( ret )
             send_failure( ret );
         else
-            send_status( test_info.failed );
+            send_status( test_info.result );
     }
     return( 0 );
 }