aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/klaar/exec-corrupt.c
blob: 9f83692ab3bb69d102c795c34a0f47ba1966333a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
  Try to load a corrupt executable.
  (klaar@ida)
*/

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

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