1f08c3bdfSopenharmony_ci# Copyright (c) International Business Machines Corp., 2002 2f08c3bdfSopenharmony_ci# 3f08c3bdfSopenharmony_ci# This program is free software; you can redistribute it and/or modify 4f08c3bdfSopenharmony_ci# it under the terms of the GNU General Public License as published by 5f08c3bdfSopenharmony_ci# the Free Software Foundation; either version 2 of the License, or 6f08c3bdfSopenharmony_ci# (at your option) any later version. 7f08c3bdfSopenharmony_ci# 8f08c3bdfSopenharmony_ci# This program is distributed in the hope that it will be useful, 9f08c3bdfSopenharmony_ci# but WITHOUT ANY WARRANTY; without even the implied warranty of 10f08c3bdfSopenharmony_ci# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 11f08c3bdfSopenharmony_ci# the GNU General Public License for more details. 12f08c3bdfSopenharmony_ci# 13f08c3bdfSopenharmony_ci# You should have received a copy of the GNU General Public License 14f08c3bdfSopenharmony_ci# along with this program; if not, write to the Free Software 15f08c3bdfSopenharmony_ci# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 16f08c3bdfSopenharmony_ci# 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_ciThe directory consists of following: 19f08c3bdfSopenharmony_ci diotest_routines.c: Routines to support the test programs. 20f08c3bdfSopenharmony_ci diotest[1-6].c: 6 test programs with 30 test blocks. 21f08c3bdfSopenharmony_ci Makefile: To compile the programs. 22f08c3bdfSopenharmony_ci 23f08c3bdfSopenharmony_ciTo run the programs: 24f08c3bdfSopenharmony_ci 1: Compile the programs 25f08c3bdfSopenharmony_ci $ make 26f08c3bdfSopenharmony_ci 2: Execute the test script or the test programs individually. 27f08c3bdfSopenharmony_ci $ ./diorun 28f08c3bdfSopenharmony_ci Creates a "logfile" by default under current directory. 29f08c3bdfSopenharmony_ci For any failures, look in the logfile for more information. 30f08c3bdfSopenharmony_ci 31f08c3bdfSopenharmony_ci OR 32f08c3bdfSopenharmony_ci 33f08c3bdfSopenharmony_ci $ <testprogram-name> [options] 34f08c3bdfSopenharmony_ci 35f08c3bdfSopenharmony_ciNote: 36f08c3bdfSopenharmony_ci----- 37f08c3bdfSopenharmony_ci1: The script diorun gives different ways to run the tests. Add additional 38f08c3bdfSopenharmony_ci test cases as needed. 39f08c3bdfSopenharmony_ci2: For diotest3.c and diotest6.c fails randomly with a number of children 40f08c3bdfSopenharmony_ci for bigger runs. The test fail with either data comparaision failures 41f08c3bdfSopenharmony_ci or input/output errors during read. Two issues are identified with 42f08c3bdfSopenharmony_ci buffered/direct read, write coherence and the problem is reported. 43f08c3bdfSopenharmony_ci (bugzilla.linux.ibm.com - Bug# 862). 44f08c3bdfSopenharmony_ci 45f08c3bdfSopenharmony_ciAny questions? 46f08c3bdfSopenharmony_ci-------------- 47f08c3bdfSopenharmony_ciSend email to: nsharoff@us.ibm.com 48f08c3bdfSopenharmony_ci 49