njn | 13f0293 | 2003-04-30 20:23:58 +0000 | [diff] [blame] | 1 | #include <unistd.h> |
2 | |||||
3 | // Before the bug was fixed, if a program changed working directory, things | ||||
4 | // would break and the cachegrind.out.<pid> file wouldn't get written. | ||||
5 | int main(void) | ||||
6 | { | ||||
7 | chdir(".."); | ||||
8 | |||||
9 | return 0; | ||||
10 | } |