diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-03-21 09:52:53 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-03-21 09:52:53 +0000 |
commit | e78250dbf6b010681e3492688b0fdbcf31f6371d (patch) | |
tree | 52c9e16e98260f911eeb1147317dd88f978ae553 /test | |
parent | 7c574d35f195d268bc651a38652503df92fd1263 (diff) |
Put the chdir back, to simplify testing now that scandir
doesn't segfault anymore
Diffstat (limited to 'test')
-rw-r--r-- | test/stdlib/qsort.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/stdlib/qsort.c b/test/stdlib/qsort.c index ac3053d3f..9e706c78d 100644 --- a/test/stdlib/qsort.c +++ b/test/stdlib/qsort.c @@ -19,6 +19,7 @@ int main(void) int i, numdir; + chdir("/"); numdir = scandir(".", &array, select_files, NULL); printf("\nGot %d entries from scandir().\n", numdir); for (i = 0; i < numdir; ++i) { |