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., 2003 5# 6# PURPOSE: Creates a text file of specified size locally and copies 7# the file to an NFS mountpoint. The two files are compared 8# and checked for differences. If the files differ, then 9# the test fails. By default, this test creates a 10Mb file 10# and runs for one loop. 11# 12# Created by: Robbie Williamson ([email protected]) 13 14TST_TESTFUNC="do_test" 15 16do_test() 17{ 18 tst_res TINFO "create 10M file" 19 ROD nfs04_create_file 10 nfs04.testfile 20 tst_res TPASS "Test finished" 21} 22 23. nfs_lib.sh 24tst_run 25