1
0
Fork 0

Merging upstream version 1.1~rc0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 10:03:28 +01:00
parent 537ee18b08
commit 73281abe5f
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
764 changed files with 32602 additions and 5874 deletions

20
test/utils.h Normal file
View file

@ -0,0 +1,20 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
/*
* This file is part of libnvme.
* Copyright (c) 2022 Code Construct
*
* Common test utilities for libnvme tests. These have quite strict error
* handling, so the general pattern is to abort/exit on error.
*/
#ifndef _TEST_UTILS_H
#define _TEST_UTILS_H
#include <stdio.h>
FILE *test_setup_log(void);
void test_print_log_buf(FILE *logfd);
void test_close_log(FILE *fd);
#endif /* _TEST_UTILS_H */