diff options
Diffstat (limited to 'sim/testsuite/cris/c/readlink8.c')
-rw-r--r-- | sim/testsuite/cris/c/readlink8.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/testsuite/cris/c/readlink8.c b/sim/testsuite/cris/c/readlink8.c new file mode 100644 index 0000000..55f6fe8 --- /dev/null +++ b/sim/testsuite/cris/c/readlink8.c @@ -0,0 +1,8 @@ +/* Check that rare readlink calls don't cause the simulator to abort. +#notarget: cris*-*-elf +#sim: --sysroot=@exedir@ +#simenv: env(-u\ PWD\ foo)=bar + FIXME: Need to unset PWD, but right now I won't bother tweaking the + generic parts of the testsuite machinery and instead abuse a flaw. */ +#define SYSROOTED 1 +#include "readlink2.c" |