From becc1140ac1cc12d811fd4895ebe6d4cf00357f8 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Sun, 28 Sep 2014 10:37:21 +0200 Subject: [PATCH] librados: test s/E2BIG/TooBig/ Because E2BIG does not allow selection ./ceph_test_rados_api_aio --gtest_filter=LibRadosAio.E2BIG Running main() from gtest_main.cc Note: Google Test filter = LibRadosAio.E2BIG [==========] Running 0 tests from 0 test cases. [==========] 0 tests from 0 test cases ran. (0 ms total) [ PASSED ] 0 tests. probably because it contains a number. Signed-off-by: Loic Dachary --- src/test/librados/io.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/librados/io.cc b/src/test/librados/io.cc index 3005000b2f089..df6e418c51897 100644 --- a/src/test/librados/io.cc +++ b/src/test/librados/io.cc @@ -27,7 +27,7 @@ TEST_F(LibRadosIo, SimpleWrite) { ASSERT_EQ(0, rados_write(ioctx, "foo", buf, sizeof(buf), 0)); } -TEST_F(LibRadosIo, E2BIG) { +TEST_F(LibRadosIo, TooBig) { char buf[1]; ASSERT_EQ(-E2BIG, rados_write(ioctx, "A", buf, UINT_MAX, 0)); ASSERT_EQ(-E2BIG, rados_append(ioctx, "A", buf, UINT_MAX)); -- 2.39.5