allwinner_a64/android/external/valgrind/cachegrind/tests/chdir.c
2018-08-08 16:14:42 +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;
}