mirror of
https://github.com/qemu/qemu.git
synced 2024-12-05 01:33:41 +08:00
dd43edf4e1
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3365 c046a42c-6fe2-441c-8c8c-71466251a162
17 lines
374 B
C
17 lines
374 B
C
/* Check that the simulator has chdir:ed to the --sysroot argument
|
|
#sim: --sysroot=@srcdir@
|
|
(or that --sysroot is applied to relative file paths). */
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <errno.h>
|
|
int main (int argc, char *argv[])
|
|
{
|
|
FILE *f = fopen ("check_openpf2.c", "rb");
|
|
if (f == NULL)
|
|
abort ();
|
|
close (f);
|
|
printf ("pass\n");
|
|
return 0;
|
|
}
|