[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
[jra/samba/.git] / source3 / tests / crypttest.c
index ee5a23235ed32bd312bf77b736177121a68d3418..0e500d54817698593b6a348ef9d228abf9bed5d7 100644 (file)
@@ -813,7 +813,7 @@ main()
 
        if((strcmp(c_out1, expected_out) != 0) && 
                (strcmp(c_out2, expected_out) == 0))
-               return 1;
+               exit(1);
 
 #ifdef HAVE_BIGCRYPT
        /*
@@ -842,10 +842,10 @@ main()
 
                if((strcmp(big_c_out1, big_expected_out) != 0) && 
                        (strcmp(big_c_out2, big_expected_out) == 0))
-                       return 1;
+                       exit(1);
 
        }
 #endif
 
-       return 0;
+       exit(0);
 }