]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librgw: add rgw_getattr tests
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 11 Jan 2016 21:50:01 +0000 (16:50 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:07:53 +0000 (12:07 -0500)
commit1b797a72b573527a77f3314105bd583a05c06dfb
treed469324925f8f8a441f0805a5f323090ce2fcaae
parent117208c7d419032dc6bf0d0d5aff2ea3e90a445e
librgw: add rgw_getattr tests

Re-implement rgw_getattr to just dispatch into RGWFileHandle::stat,
we expect all objects to stat correctly for their type.

The size of file objects is currently reporting as 0, where we expect
a small, positive size (reviewing).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.cc
src/test/librgw_file_nfsns.cc