summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-13 23:34:40 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-13 23:34:40 +0000
commite3d8cc9c9912c12576f2623bec382ca96f36bb9a (patch)
tree24e6fb7cb6db20a725ad86848bed97716a8c5530 /test
parent9aeb15e7c41fdc81389492af16be6333991a0579 (diff)
Remove the chdir, so we can test things like empty directories
Diffstat (limited to 'test')
-rw-r--r--test/stdlib/qsort.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/stdlib/qsort.c b/test/stdlib/qsort.c
index 9e706c78d..ac3053d3f 100644
--- a/test/stdlib/qsort.c
+++ b/test/stdlib/qsort.c
@@ -19,7 +19,6 @@ 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) {