1 /* Check that rare readlink calls don't cause the simulator to abort. 2 #notarget: cris*-*-elf 3 #sim: --sysroot=@exedir@ 4 #simenv: env(-u\ PWD\ foo)=bar 5 FIXME: Need to unset PWD, but right now I won't bother tweaking the 6 generic parts of the testsuite machinery and instead abuse a flaw. */ 7 #define SYSROOTED 1 8 #include "readlink2.c" 9