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 ([email protected]) 10 11DIR_NUM=${DIR_NUM:-"5"} 12FILE_NUM=${FILE_NUM:-"20"} 13THREAD_NUM=${THREAD_NUM:-"5"} 14TST_NEEDS_CMDS="make gcc" 15TST_TESTFUNC="do_test" 16 17do_test() 18{ 19 tst_res TINFO "start nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $THREAD_NUM" 20 ROD nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $THREAD_NUM 21 22 tst_res TPASS "test finished" 23} 24 25. nfs_lib.sh 26tst_run 27