File:  [Qemu by Fabrice Bellard] / qemu / tests / cris / check_openpf2.c
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:57:37 2018 UTC (8 years, 1 month ago) by root
Branches: qemu, MAIN
CVS tags: qemu1001, qemu1000, qemu0151, HEAD
qemu 0.15.1

/* 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 ();
  fclose(f);
  printf ("pass\n");
  return 0;
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.