Change tests from a copy to using the original with mocs
This commit is contained in:
2023-11-12 17:07:20 +01:00
parent 04f9dd3d2c
commit e682528e12
7 changed files with 77 additions and 66 deletions

19
tests/mocs.c Normal file
View File

@@ -0,0 +1,19 @@
#include "tftp.h"
struct llfs_data_file llfs_root = {
.data = NULL,
.len = 0,
.name = "root",
.next = NULL,
};
void tftp_cleanup(void) {
}
uint32_t logger_get_timestamp(void) {
return 0;
}
int tftp_init(struct tftp_context* context) {
return 0;
}