aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/klaar/low-mem.c
blob: 8f1da3e80f35b0995d8ab6c46f98ceffa2858bc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
  Simulate a failure in thread_create.
  A real reason for failure could be low memory.
  (klaar@ida)
*/

#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"

void
test_main (void) 
{
  msg ("exec(\"child-simple\"): %d", exec ("child-simple"));
}