diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-17 13:13:06 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-05-17 13:57:01 -0400 |
commit | c70e7375b1808b23fe4db2018d5e8c9bcb70464d (patch) | |
tree | b84fca909d89c7d5a7f461c7cafeae0058bdca79 /tests/ioq.c | |
parent | c3d6f07b8e4d22df533ce7a90660ae1da2df5476 (diff) | |
download | bfs-c70e7375b1808b23fe4db2018d5e8c9bcb70464d.tar.xz |
diag: New helpers to include xstrerror(errno) automatically
Diffstat (limited to 'tests/ioq.c')
-rw-r--r-- | tests/ioq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ioq.c b/tests/ioq.c index ef5ee3b..99c98a2 100644 --- a/tests/ioq.c +++ b/tests/ioq.c @@ -40,15 +40,15 @@ static void check_ioq_push_block(void) { const size_t depth = 2; struct ioq *ioq = ioq_create(depth, 1); - bfs_verify(ioq, "ioq_create(): %s", xstrerror(errno)); + bfs_everify(ioq, "ioq_create()"); // Push enough operations to fill the queue for (size_t i = 0; i < depth; ++i) { struct bfs_dir *dir = bfs_allocdir(); - bfs_verify(dir, "bfs_allocdir(): %s", xstrerror(errno)); + bfs_everify(dir, "bfs_allocdir()"); int ret = ioq_opendir(ioq, dir, AT_FDCWD, ".", 0, NULL); - bfs_verify(ret == 0, "ioq_opendir(): %s", xstrerror(errno)); + bfs_everify(ret == 0, "ioq_opendir()"); } bfs_verify(ioq_capacity(ioq) == 0); |