nfs05 745 B

123456789101112131415161718192021222324252627
  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. DIR_NUM=${DIR_NUM:-"20"}
  11. FILE_NUM=${FILE_NUM:-"50"}
  12. THREAD_NUM=${THREAD_NUM:-"8"}
  13. TST_NEEDS_CMDS="make gcc"
  14. TST_TESTFUNC="do_test"
  15. . nfs_lib.sh
  16. do_test()
  17. {
  18. tst_res TINFO "start nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $THREAD_NUM"
  19. ROD nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $THREAD_NUM
  20. tst_res TPASS "test finished"
  21. }
  22. tst_run