• 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., 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 (robbiew@us.ibm.com)
13
14TST_TESTFUNC="do_test"
15. nfs_lib.sh
16
17do_test()
18{
19    tst_res TINFO "create 10M file"
20    ROD nfs04_create_file 10 nfs04.testfile
21    tst_res TPASS "Test finished"
22}
23
24tst_run
25