go-ceph/cephfs
John Mulligan 6900146fc4 cephfs admin: fix reversed args in greater-or-equal assertion
Now that the new year has arrived this test assertion has started to
fail. This is because, although I anticipated the year would eventually
change and used GreaterOrEqual, the argument order is wrong. My excuse
is that I find the argument order in testify's Equal function confusing,
it causes me to assume other functions in testify are also confusing
(even when it's the "normal" order) and/or I copy and pasted from an
Equal line and didn't change the args (both are true!).

Instead of allowing any old year, we assume that the clocks where the
test are run are in sync enough that the current year is correct for
the assertion (thanks for the suggestion Sven).
Happy new year, go-ceph!

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2021-01-05 13:30:50 +00:00
..
admin cephfs admin: fix reversed args in greater-or-equal assertion 2021-01-05 13:30:50 +00:00
cephfs.go cephfs: add function ParseDefaultConfigEnv to set ceph config from env 2020-07-24 09:54:04 -04:00
cephfs_test.go cephfs: add function ParseDefaultConfigEnv to set ceph config from env 2020-07-24 09:54:04 -04:00
command.go cutil: allow passing free functions to command output type 2020-05-12 17:18:08 -04:00
command_test.go cephfs: split (mds) command functions and tests into new files 2020-04-17 13:40:01 -04:00
conn_nautilus.go
conn_nautilus_test.go
directory.go cephfs: add ReadDirPlus function and associated types 2020-05-19 16:35:58 -04:00
directory_test.go cephfs: add ReadDirPlus function and associated types 2020-05-19 16:35:58 -04:00
doc.go
errors.go cephfs: use FormatErrorCode for formatting cephfs errors 2020-08-10 13:03:24 -04:00
errors_test.go cephfs: use FormatErrorCode for formatting cephfs errors 2020-08-10 13:03:24 -04:00
file.go cephfs: add File method Truncate implementing ceph_ftruncate 2020-11-30 15:39:09 +00:00
file_test.go cephfs: add File method Truncate implementing ceph_ftruncate 2020-11-30 15:39:09 +00:00
file_xattr.go cephfs: fix a typo in the ListXattr doc comment 2020-08-04 13:35:35 -04:00
file_xattr_test.go cephfs: give xattr test samples a better name 2020-08-04 13:35:35 -04:00
mount_perms_mimic.go cephfs: add functions for Init and SetMountPerms 2020-04-15 14:22:30 +02:00
mount_perms_mimic_test.go cephfs: add functions for Init and SetMountPerms 2020-04-15 14:22:30 +02:00
path.go cephfs: add Truncate implementing ceph_truncate 2020-11-30 15:39:09 +00:00
path_test.go cephfs: add a test case for calling Statx on an invalid mount 2020-11-30 15:39:09 +00:00
path_xattr.go cephfs: add path-based xattr functions 2020-08-04 13:35:35 -04:00
path_xattr_test.go cephfs: add path-based xattr functions 2020-08-04 13:35:35 -04:00
permissions.go cephfs: split basic permissions related funcs into new files 2020-04-17 13:40:01 -04:00
permissions_test.go cephfs: split basic permissions related funcs into new files 2020-04-17 13:40:01 -04:00
statfs.go cephfs: add StatFS implementing ceph_statfs 2020-07-20 13:36:53 -04:00
statfs_test.go cephfs: add StatFS implementing ceph_statfs 2020-07-20 13:36:53 -04:00
statx.go timespec: move to internal pkg 2020-06-22 09:22:18 -04:00
statx_test.go cephfs: add path based Statx function implmenting ceph_statx 2020-05-07 13:44:19 -04:00
userperm.go cephfs: add a UserPerm type wrapping libcephfs UserPerm 2020-04-15 14:22:30 +02:00
userperm_test.go cephfs: add a UserPerm type wrapping libcephfs UserPerm 2020-04-15 14:22:30 +02:00