• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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@us.ibm.com)
10
11DIR_NUM=${DIR_NUM:-"20"}
12FILE_NUM=${FILE_NUM:-"50"}
13THREAD_NUM=${THREAD_NUM:-"8"}
14TST_NEEDS_CMDS="make gcc"
15TST_TESTFUNC="do_test"
16
17. nfs_lib.sh
18
19do_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
27tst_run
28