android_mt6572_jiabo/external/valgrind/cachegrind/tests/chdir.c
2025-09-05 16:56:03 +08:00

10 lines
217 B
C

#include <unistd.h>
// Before the bug was fixed, if a program changed working directory, things
// would break and the cachegrind.out.<pid> file wouldn't get written.
int main(void)
{
chdir("..");
return 0;
}