summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-06-13 11:26:28 +0530
committerVijay Bellur <vbellur@redhat.com>2014-06-13 01:07:31 -0700
commit4d656f9008747172db52f6d532b610c487528bfb (patch)
treed029702decdf496112593caf9616e606e4e54b92 /xlators
parent333d2a60eb121a4f09a0c3c0d35d8585af86bdd1 (diff)
tests: Fix spurious failure in tests/bugs/bug-830665.t
Problem with script: EXPECT_WITHIN fails the test if the command it executes fails. There is a possibility that the file script tries to 'cat' may not exist. In those cases it would fail leading to spurious failures. Fix: Add a function which returns empty string when the file doesn't exist and 'cat' file when it does exist. Change-Id: I0abfb343f2fce1034ee4b5b680e3783c4f6e8486 BUG: 1092850 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/8057 Reviewed-by: Sachin Pandit <spandit@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions