Browse Source

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

Eric Andersen 23 năm trước cách đây
mục cha
commit
e3d8cc9c99
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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) {