apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1800466 - /apr/apr/branches/1.6.x/test/testfile.c
Date Fri, 30 Jun 2017 21:12:31 GMT
Author: jim
Date: Fri Jun 30 21:12:31 2017
New Revision: 1800466

URL: http://svn.apache.org/viewvc?rev=1800466&view=rev
Log:
add tests

Modified:
    apr/apr/branches/1.6.x/test/testfile.c

Modified: apr/apr/branches/1.6.x/test/testfile.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/test/testfile.c?rev=1800466&r1=1800465&r2=1800466&view=diff
==============================================================================
--- apr/apr/branches/1.6.x/test/testfile.c (original)
+++ apr/apr/branches/1.6.x/test/testfile.c Fri Jun 30 21:12:31 2017
@@ -867,7 +867,7 @@ static void test_file_trunc(abts_case *t
     ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
 }
 
-static void test_file_trunc(abts_case *tc, void *data)
+static void test_file_trunc2(abts_case *tc, void *data)
 {
     apr_status_t rv;
     apr_file_t *f;
@@ -1253,6 +1253,8 @@ abts_suite *testfile(abts_suite *suite)
     abts_run_test(suite, test_bigread, NULL);
     abts_run_test(suite, test_mod_neg, NULL);
     abts_run_test(suite, test_truncate, NULL);
+    abts_run_test(suite, test_file_trunc, NULL);
+    abts_run_test(suite, test_file_trunc2, NULL);
     abts_run_test(suite, test_file_trunc_buffered_write, NULL);
     abts_run_test(suite, test_file_trunc_buffered_write2, NULL);
     abts_run_test(suite, test_file_trunc_buffered_read, NULL);



Mime
View raw message