diff options
Diffstat (limited to 'tests/basic/ec/nfs.t')
-rw-r--r-- | tests/basic/ec/nfs.t | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/basic/ec/nfs.t b/tests/basic/ec/nfs.t new file mode 100644 index 0000000000..53ec30c92b --- /dev/null +++ b/tests/basic/ec/nfs.t @@ -0,0 +1,18 @@ +#!/bin/bash + +. $(dirname $0)/../../include.rc +. $(dirname $0)/../../nfs.rc + +cleanup + +TEST glusterd +TEST pidof glusterd +TEST $CLI volume create $V0 redundancy 2 $H0:$B0/${V0}{0..5} +TEST $CLI volume start $V0 + +EXPECT_WITHIN $NFS_EXPORT_TIMEOUT "1" is_nfs_export_available; +TEST mount_nfs $H0:/$V0 $N0 + +TEST dd if=/dev/zero of=$N0/test bs=1024k count=1k + +cleanup |