summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorRaghavendra Talur <rtalur@redhat.com>2014-01-09 17:03:37 +0530
committerVijay Bellur <vbellur@redhat.com>2014-01-16 01:00:45 -0800
commit902276ebd7d6d7b3158d7c4796cdd392b6e958c3 (patch)
tree4b511377e31946075e554db600eb13bd2a623c5d /tests/bugs
parentc9008fe6a1a4d9c25c4b11804bcc9e5b6edf9bec (diff)
test: Remove unnecessary code from test.
We have not meddled with mount point to check for it again. Change-Id: I88eed777b6573a320065b9e14c2031db964e36d0 BUG: 1053362 Signed-off-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-on: http://review.gluster.org/6675 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/bug-858488-min-free-disk.t7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/bugs/bug-858488-min-free-disk.t b/tests/bugs/bug-858488-min-free-disk.t
index ae5ac3bde60..dfed0fd33f7 100644
--- a/tests/bugs/bug-858488-min-free-disk.t
+++ b/tests/bugs/bug-858488-min-free-disk.t
@@ -5,11 +5,6 @@
cleanup;
-function pidgrep()
-{
- ps ax | grep "$1" | grep -v grep | awk '{print $1}' | head -1
-}
-
## Start glusterd
TEST glusterd;
TEST pidof glusterd;
@@ -38,7 +33,6 @@ EXPECT 'Created' volinfo_field $V0 'Status';
TEST $CLI volume start $V0;
EXPECT 'Started' volinfo_field $V0 'Status';
TEST glusterfs -s $H0 --volfile-id=$V0 --acl $M0
-MOUNT_PID=`ps ax |grep "glusterfs -s $H0 --volfile-id=$V0 --acl $M0" | awk '{print $1}' | head -1`
## Real test starts here
## ----------------------------------------------------------------------------
@@ -103,7 +97,6 @@ dd if=/dev/zero of=$M0/$FILETOCREATE bs=1024 count=2048 1>/dev/null 2>&1
TEST [ -e $OTHERBRICK/$FILETOCREATE ]
## Done testing, lets clean up
-EXPECT "$MOUNT_PID" pidgrep $MOUNT_PID
TEST rm -rf $M0/*
## Finish up