diff options
Diffstat (limited to 'src/user/app/init/tests')
-rw-r--r-- | src/user/app/init/tests/main.c | 2 | ||||
-rw-r--r-- | src/user/app/init/tests/pipe.c | 4 | ||||
-rw-r--r-- | src/user/app/init/tests/semaphore.c | 6 | ||||
-rw-r--r-- | src/user/app/init/tests/stress.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/user/app/init/tests/main.c b/src/user/app/init/tests/main.c index 5db6324..015a3be 100644 --- a/src/user/app/init/tests/main.c +++ b/src/user/app/init/tests/main.c @@ -3,8 +3,8 @@ #include <shared/execbuf.h> #include <shared/flags.h> #include <shared/syscalls.h> -#include <user/lib/stdlib.h> #include <user/app/init/tests/main.h> +#include <user/lib/stdlib.h> static void run_forked(void (*fn)()) { if (!fork()) { diff --git a/src/user/app/init/tests/pipe.c b/src/user/app/init/tests/pipe.c index e7724e9..54025d0 100644 --- a/src/user/app/init/tests/pipe.c +++ b/src/user/app/init/tests/pipe.c @@ -1,8 +1,8 @@ #define TEST_MACROS -#include <user/lib/stdlib.h> -#include <user/app/init/tests/main.h> #include <shared/flags.h> #include <shared/syscalls.h> +#include <user/app/init/tests/main.h> +#include <user/lib/stdlib.h> static const char *pipe_msgs[2] = {"hello", "world"}; diff --git a/src/user/app/init/tests/semaphore.c b/src/user/app/init/tests/semaphore.c index 0bfa979..66ea4ba 100644 --- a/src/user/app/init/tests/semaphore.c +++ b/src/user/app/init/tests/semaphore.c @@ -1,9 +1,9 @@ #define TEST_MACROS -#include <user/lib/esemaphore.h> -#include <user/lib/stdlib.h> -#include <user/app/init/tests/main.h> #include <shared/flags.h> #include <shared/syscalls.h> +#include <user/app/init/tests/main.h> +#include <user/lib/esemaphore.h> +#include <user/lib/stdlib.h> static void odd(handle_t out, struct evil_sem *sem1, struct evil_sem *sem2) { _syscall_write(out, "1", 1, -1); diff --git a/src/user/app/init/tests/stress.c b/src/user/app/init/tests/stress.c index 9223d01..9af1706 100644 --- a/src/user/app/init/tests/stress.c +++ b/src/user/app/init/tests/stress.c @@ -1,8 +1,8 @@ #define TEST_MACROS -#include <user/lib/stdlib.h> -#include <user/app/init/tests/main.h> #include <shared/flags.h> #include <shared/syscalls.h> +#include <user/app/init/tests/main.h> +#include <user/lib/stdlib.h> static void run_forked(void (*fn)()) { if (!fork()) { |