mirror of
https://github.com/drasko/codezero.git
synced 2026-02-03 13:43:14 +01:00
Test container type is added.
Test container is planned to test codezero microkernel extensively. With these changes, everything is there to develop a full-featured test suite. It also exemplifies how a new container type can be added to the system. (cherry picked from commit f21fa53df421bfc8eeeaa096c89b98beed436c60)
This commit is contained in:
committed by
Bahadir Balban
parent
89d49ef495
commit
2a47e425c4
13
conts/test/hello.c
Normal file
13
conts/test/hello.c
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Autogenerated hello world print function
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <container.h>
|
||||
|
||||
int print_hello_world(void)
|
||||
{
|
||||
printf("%s: Hello world from %s!\n", __CONTAINER__, __CONTAINER_NAME__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user