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