From ca1e784cf45f5b7b9ca36b6e30128b64aa567b21 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Jun 26 2011 20:31:46 +0000 Subject: Changed nfs test mount point to avoid conflicts. --- diff --git a/tests/p_nfs/nfs_share_rw.sh b/tests/p_nfs/nfs_share_rw.sh index 6d63574..08b69ba 100755 --- a/tests/p_nfs/nfs_share_rw.sh +++ b/tests/p_nfs/nfs_share_rw.sh @@ -9,11 +9,12 @@ mkdir -p /srv/nfs exportfs -ar # Mount the share -mount -t nfs 127.0.0.1:/srv/nfs /mnt -echo 'NFS test file' > /mnt/test.txt +mkdir /mnt/nfs +mount -t nfs 127.0.0.1:/srv/nfs /mnt/nfs +echo 'NFS test file' > /mnt/nfs/test.txt # Test twice -(cat /mnt/test.txt | grep 'NFS test file' > /dev/null 2>&1) && \ +(cat /mnt/nfs/test.txt | grep 'NFS test file' > /dev/null 2>&1) && \ (cat /srv/nfs/test.txt | grep 'NFS test file' > /dev/null 2>&1) t_CheckExitStatus $?