repo.or.cz
/
qemu
/
lumag.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
qemu-thread: delete unused functions
[qemu/lumag.git]
/
tests
/
cris
/
check_openpf2.c
blob
f44a8f34bb27771fac6958a73fc92ee108e6f4a7
1
/* Check that the simulator has chdir:ed to the --sysroot argument
2
#sim: --sysroot=@srcdir@
3
(or that --sysroot is applied to relative file paths). */
4
5
#include <stdio.h>
6
#include <stdlib.h>
7
#include <errno.h>
8
int
main
(
int
argc
,
char
*
argv
[])
9
{
10
FILE
*
f
=
fopen
(
"check_openpf2.c"
,
"rb"
);
11
if
(
f
==
NULL
)
12
abort
();
13
close
(
f
);
14
printf
(
"pass
\n
"
);
15
return
0
;
16
}