summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib
diff options
context:
space:
mode:
authorRaghavendra G <rgowdapp@redhat.com>2013-11-12 20:27:35 +0530
committerAnand Avati <avati@redhat.com>2013-11-24 20:28:38 -0800
commit07a3b04d5ce1d7a22a4ce01f1b6b8f8fc6ffbb05 (patch)
tree50eb52a7852ca8d1c50eda7602cc4ecb23ad75ad /rpc/rpc-lib
parent6e7817232ca39330a9e8ba2220f5636eeec375af (diff)
tests: add EXPECT_NOT macro
We needed this macro while writing test cases for quota. With quota, a directory size is only guaranteed to be within some margin of quota limit, but not an accurate number. With not knowing what size to expect and EXPECT macro not complete enough to accept ranges of sizes, we can atleast write test-cases with EXPECT_NOT macro. After copying data to an empty file, it will be guaranteed the size will not be zero. This is good enough for quota test cases. Change-Id: I722ebd68044716a5eeaf0bd7e9aae61df8469017 BUG: 1022995 Signed-off-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-on: http://review.gluster.org/6253 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc/rpc-lib')
0 files changed, 0 insertions, 0 deletions