1 #!/bin/sh 2 # SPDX-License-Identifier: GPL-2.0-or-later 3 # Copyright (c) 2015-2018 Oracle and/or its affiliates. All Rights Reserved. 4 # Copyright (c) International Business Machines Corp., 2001 5 # 6 # DESCRIPTION: This script sets up the NFS directories in the remote machine 7 # and invokes the program make_tree with parameters. 8 # 9 # Created by: Robbie Williamson (robbiew (at] us.ibm.com) 10 11 DIR_NUM=${DIR_NUM:-"20"} 12 FILE_NUM=${FILE_NUM:-"50"} 13 THREAD_NUM=${THREAD_NUM:-"8"} 14 TST_NEEDS_CMDS="make gcc" 15 TST_TESTFUNC="do_test" 16 17 . nfs_lib.sh 18 19 do_test() 20 { 21 tst_res TINFO "start nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $THREAD_NUM" 22 ROD nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $THREAD_NUM 23 24 tst_res TPASS "test finished" 25 } 26 27 tst_run 28