From 95c4b00e90e24d3bcb5d3b6e56f0e29b725ba9ce Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 3 Dec 2024 08:00:53 +0100 Subject: test: Remove asserts on specific entry addrs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These asserts where needed when I was iterating on the initrd handling code, but they are admittedly too specific and prone to errors. Hence, get rid off them. Signed-off-by: Miquel Sabaté Solà --- test/test_initrd.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'test') diff --git a/test/test_initrd.c b/test/test_initrd.c index 75611a7..624cf12 100644 --- a/test/test_initrd.c +++ b/test/test_initrd.c @@ -31,17 +31,10 @@ int main(void) extract_initrd(contents, (uint64_t)fsize, tasks); free(contents); -#ifdef __DEBUG__ - assert(((uintptr_t)tasks[0].entry_addr & 0xfff) == 0xbe8); - assert(((uintptr_t)tasks[1].entry_addr & 0xfff) == 0x5bc); - assert(((uintptr_t)tasks[2].entry_addr & 0xfff) == 0x7b4); - assert(((uintptr_t)tasks[3].entry_addr & 0xfff) == 0x180); -#else assert(tasks[0].entry_addr); assert(tasks[1].entry_addr); assert(tasks[2].entry_addr); assert(tasks[3].entry_addr); -#endif exit(0); } -- cgit v1.2.3