Browse Source

Remove the chdir, so we can test things like empty directories

Eric Andersen 22 years ago
parent
commit
e3d8cc9c99
1 changed files with 0 additions and 1 deletions
  1. 0 1
      test/stdlib/qsort.c

+ 0 - 1
test/stdlib/qsort.c

@@ -19,7 +19,6 @@ int main(void)
 
 
     int i, numdir;        
     int i, numdir;        
 
 
-    chdir("/");
     numdir = scandir(".", &array, select_files, NULL);
     numdir = scandir(".", &array, select_files, NULL);
     printf("\nGot %d entries from scandir().\n", numdir);              
     printf("\nGot %d entries from scandir().\n", numdir);              
     for (i = 0; i < numdir; ++i) {      
     for (i = 0; i < numdir; ++i) {