1#!/bin/sh 2# Copyright (c) 2015 Oracle and/or its affiliates. All Rights Reserved. 3# Copyright (c) International Business Machines Corp., 2001 4# 5# This program is free software; you can redistribute it and/or 6# modify it under the terms of the GNU General Public License as 7# published by the Free Software Foundation; either version 2 of 8# the License, or (at your option) any later version. 9# 10# This program is distributed in the hope that it would be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with this program. If not, see <http://www.gnu.org/licenses/>. 17# 18# PURPOSE: Stresses NFS by opening a large number of files on a nfs 19# mounted filesystem. 20# 21# Ported by Robbie Williamson (robbiew@us.ibm.com) 22 23TCID="nfs01" 24TST_TOTAL=1 25TST_CLEANUP="nfs_cleanup" 26 27. nfs_lib.sh 28. test_net.sh 29 30do_test() 31{ 32 tst_resm TINFO "starting 'nfs01_open_files $NFILES'" 33 ROD nfs01_open_files $NFILES 34 tst_resm TPASS "test finished successfully" 35} 36 37nfs_setup 38do_test 39 40tst_exit 41