netatalk  4.6.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
subtests_cnid.h
Go to the documentation of this file.
1#ifndef SUBTESTS_CNID_H
2#define SUBTESTS_CNID_H
3
4struct vol;
5
6extern int utest_cnid_volume_tag_identity(void);
7extern int utest_cnid_wrapper_sets_errno(void);
9extern int utest_cnid_valide_byteorder(void);
11extern int utest_cnid_add_busy_not_fatal(struct vol *vol);
12extern int utest_cnid_add_depletion_resets(struct vol *vol);
13extern int utest_cnid_uuid_case_keeps_table(struct vol *vol);
14extern int utest_cnid_resolve_notfound_errno(struct vol *vol);
15extern int utest_cnid_corrupt_row_classified(struct vol *vol);
16extern int utest_cnid_find_no_truncated_id(struct vol *vol);
18
19#endif /* SUBTESTS_CNID_H */
Definition include/atalk/volume.h:33
int utest_cnid_wrapper_sets_errno(void)
Every CNID_INVALID from the wrapper carries its own errno.
Definition subtests_cnid.c:244
int utest_cnid_error_codes_distinct(void)
The CNID error codes stay distinct and out of the errno range.
Definition subtests_cnid.c:610
int utest_cnid_dup_row_no_truncated_delete(struct vol *vol)
Duplicate-row cleanup never deletes through a truncated rowid.
Definition subtests_cnid.c:930
int utest_cnid_find_no_truncated_id(struct vol *vol)
A search never returns a CNID narrowed out of a 64-bit rowid.
Definition subtests_cnid.c:837
int utest_cnid_corrupt_row_classified(struct vol *vol)
64-bit rows that do not fit a CNID classify as corrupt, not truncate
Definition subtests_cnid.c:716
int utest_cnid_uuid_case_keeps_table(struct vol *vol)
A UUID differing only in case reuses the live table, never drops it.
Definition subtests_cnid.c:408
int utest_cnid_add_depletion_resets(struct vol *vol)
Exhausting the CNID space reports CNID_ERR_RESET, not a recycled id.
Definition subtests_cnid.c:502
int utest_cnid_resolve_notfound_errno(struct vol *vol)
A not-found answer classifies out of the syscall errno range.
Definition subtests_cnid.c:644
int utest_cnid_add_busy_not_fatal(struct vol *vol)
A contended CNID database classifies as BUSY, not as a dead backend.
Definition subtests_cnid.c:321
int utest_cnid_valide_byteorder(void)
valide() compares CNIDs in the right byte order
Definition subtests_cnid.c:281
int utest_cnid_volume_tag_identity(void)
cnid_volume_tag() names the CNID table, not the session's volume slot
Definition subtests_cnid.c:50
int utest_cnid_resolve_dotdot_rejected(void)
The wrapper's ".." rejection fails like a backend failure.
Definition subtests_cnid.c:686