void test_lseek(void) { int ntests = 0, lost_points = 0; int result; test_lseek_fd(&ntests, &lost_points); ntests++; result = lseek_fd_device(); handle_result(result, &lost_points); ntests++; result = lseek_file_stdin(); handle_result(result, &lost_points); ntests++; result = lseek_loc_negative(); handle_result(result, &lost_points); ntests++; result = lseek_loc_pasteof(); handle_result(result, &lost_points); ntests++; result = lseek_whence_inval(); handle_result(result, &lost_points); if(!lost_points) success(TEST161_SUCCESS, SECRET, "/testbin/badcall"); }
void test_lseek(void) { test_lseek_fd(); lseek_fd_device(); lseek_file_stdin(); lseek_loc_negative(); lseek_loc_pasteof(); lseek_whence_inval(); }