Fix NetAccessorTest to exit with non-zero status in case of error
diff --git a/tests/src/NetAccessorTest/NetAccessorTest.cpp b/tests/src/NetAccessorTest/NetAccessorTest.cpp
index 7cbc84c..d0d0b67 100644
--- a/tests/src/NetAccessorTest/NetAccessorTest.cpp
+++ b/tests/src/NetAccessorTest/NetAccessorTest.cpp
@@ -118,6 +118,8 @@
     // Get the URL
     char* url = argv[1];
     
+    int r = 1;
+
     // Do the test
     try
     {
@@ -144,7 +146,7 @@
 		
 		// Delete the is
 		delete is;
-	
+		r = 0;
     }
     catch(const XMLException& toCatch)
     {
@@ -156,6 +158,6 @@
     // And call the termination method
     XMLPlatformUtils::Terminate();
 
-    return 0;
+    return r;
 }