binutils-gdb/sim/testsuite/cris/c/readlink7.c
Mike Frysinger 35818ade96 sim: nrun: add --env-{set,unset,clear} command line options
Provide explicit control over the program's environment with the
basic set/unset/clear options.  These are a bit clunky to use,
but they're functional.

The env set operation is split out into a separate function as it'll
be used in the next commit.

With these in place, we can adjust the custom cris testsuite to use
the now standard options and not its one-off hack.
2021-11-16 03:34:00 -05:00

6 lines
142 B
C

/* Check that rare readlink calls don't cause the simulator to abort.
#notarget: cris*-*-elf
#sim: --env-unset PWD
*/
#include "readlink2.c"