xref: /aosp_15_r20/external/ltp/testcases/network/nfs/nfs_stress/nfs01.sh (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
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#  PURPOSE: Stresses NFS by opening a large number of files on a nfs
7#           mounted filesystem.
8#
9# Ported by Robbie Williamson ([email protected])
10
11TST_TESTFUNC="do_test"
12
13do_test()
14{
15	tst_res TINFO "starting 'nfs01_open_files $NFILES'"
16	ROD nfs01_open_files $NFILES
17	tst_res TPASS "test finished successfully"
18}
19
20. nfs_lib.sh
21tst_run
22