summaryrefslogtreecommitdiff
path: root/tests/mknode_reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mknode_reg.c')
-rw-r--r--tests/mknode_reg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mknode_reg.c b/tests/mknode_reg.c
index 26e42b7..40966f8 100644
--- a/tests/mknode_reg.c
+++ b/tests/mknode_reg.c
@@ -32,6 +32,7 @@ int main(void)
assert(node->gid == sb.st_gid);
assert(node->mode == sb.st_mode);
assert(node->parent == NULL);
+ assert(node->link_count == 1);
assert((char *)node->name >= (char *)node->payload);
assert(node->data.file.input_file >= (char *)node->payload);
assert(node->data.file.input_file >= node->name + 8);