repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
regtest: broaden none/tests/linux/bug498317 suppression for PPC
[valgrind.git]
/
cachegrind
/
tests
/
chdir.c
blob
9b681cfc4b75dd4f3ce2811c428d50039888f4be
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
}