From: Michael Brown Date: Thu, 15 May 2025 14:46:02 +0000 (+0100) Subject: [tests] Remove prehistoric umalloc() test code X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=f6f11c101c833aa6f6eaa8dfaf4f3903bbe89fdf;p=thirdparty%2Fipxe.git [tests] Remove prehistoric umalloc() test code Signed-off-by: Michael Brown --- diff --git a/src/tests/umalloc_test.c b/src/tests/umalloc_test.c deleted file mode 100644 index 1a32a0531..000000000 --- a/src/tests/umalloc_test.c +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include - -void umalloc_test ( void ) { - struct memory_map memmap; - void *bob; - void *fred; - - printf ( "Before allocation:\n" ); - get_memmap ( &memmap ); - - bob = umalloc ( 1234 ); - bob = urealloc ( bob, 12345 ); - fred = umalloc ( 999 ); - - printf ( "After allocation:\n" ); - get_memmap ( &memmap ); - - ufree ( bob ); - ufree ( fred ); - - printf ( "After freeing:\n" ); - get_memmap ( &memmap ); -}