From 076e104b8672924c3d80cd1da2fdb5ebee1766ac Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Thu, 24 Aug 2023 17:00:31 -0400 Subject: Migrated over to using psudb-common utilities/headers --- tests/testing.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/testing.h b/tests/testing.h index 4d49474..bdf4869 100644 --- a/tests/testing.h +++ b/tests/testing.h @@ -17,7 +17,7 @@ #include #include "util/types.h" -#include "util/base.h" +#include "psu-util/alignment.h" #include "framework/MutableBuffer.h" #include "framework/RecordInterface.h" @@ -46,14 +46,14 @@ static bool initialize_test_file(std::string fname, size_t page_cnt) goto error; } - page = (char *) aligned_alloc(de::SECTOR_SIZE, de::PAGE_SIZE); + page = (char *) aligned_alloc(psudb::SECTOR_SIZE, psudb::PAGE_SIZE); if (!page) { goto error_opened; } for (size_t i=0; i<=page_cnt; i++) { *((int *) page) = i; - if (write(fd, page, de::PAGE_SIZE) == -1) { + if (write(fd, page, psudb::PAGE_SIZE) == -1) { goto error_alloced; } } -- cgit v1.2.3