diff options
author | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2017-06-30 21:12:31 +0000 |
---|---|---|
committer | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2017-06-30 21:12:31 +0000 |
commit | 26764d8174f738a4369387baf017767bfae77035 (patch) | |
tree | 8d99c2e2544070baa195f56dc6022c57a1bd9a91 | |
parent | eac44e2bf52ebd9979e22f177010df60af8f046c (diff) | |
download | libapr-26764d8174f738a4369387baf017767bfae77035.tar.gz |
add tests
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1800466 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | test/testfile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/testfile.c b/test/testfile.c index c59b3ae8b..36ab4f0d8 100644 --- a/test/testfile.c +++ b/test/testfile.c @@ -867,7 +867,7 @@ static void test_file_trunc(abts_case *tc, void *data) 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); |