summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCsaba Henk <csaba@redhat.com>2018-01-30 16:47:34 +0100
committerAmar Tumballi <amarts@redhat.com>2018-01-31 09:10:09 +0000
commit4475150a5792743a016801dc72573416389810d1 (patch)
treeab68b61bbd1e910c8021602a144a8f1a36317436 /tests
parentf9e6be05bc94449b41b04ab8571a8d1cb4858eeb (diff)
tests: fix tests/bugs/fuse/bug-858215.t
Change-Id: Ifbf5e628ccb9a0ecb285f5884a41e70d935316bd Signed-off-by: Csaba Henk <csaba@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/bugs/fuse/bug-858215.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/fuse/bug-858215.t b/tests/bugs/fuse/bug-858215.t
index acfaca9bb4b..92389829077 100755
--- a/tests/bugs/fuse/bug-858215.t
+++ b/tests/bugs/fuse/bug-858215.t
@@ -40,8 +40,8 @@ TEST touch $M0/newfile;
TEST stat $M0/newfile;
TEST rm $M0/newfile;
-nfs_pid=$(cat $GLUSTERD_PIDFILEDIR/nfs/nfs.pid);
-glustershd_pid=$(cat $GLUSTERD_PIDFILEDIR/glustershd/glustershd.pid);
+nfs_pid=$(cat $GLUSTERD_PIDFILEDIR/nfs/nfs.pid || echo -1);
+glustershd_pid=$(cat $GLUSTERD_PIDFILEDIR/glustershd/glustershd.pid || echo -1);
pids=$(pidof glusterfs);
for i in $pids