trawick     01/08/06 14:43:25

  Modified:    test     testdir.c
  Log:
  gotta close the dir before it can be removed (at least on Win32);
  Unix never cared, but that's what we love about it
  
  Revision  Changes    Path
  1.4       +3 -0      apr/test/testdir.c
  
  Index: testdir.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testdir.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- testdir.c 2001/08/02 21:07:04     1.3
  +++ testdir.c 2001/08/06 21:43:25     1.4
  @@ -118,6 +118,9 @@
                   apr_dir_read(&finfo, finfo_flags, this_dir),
                   APR_STATUS_IS_ENOENT, "OK", "Failed")
   
  +    STD_TEST_NEQ("       closing dir",
  +              apr_dir_close(this_dir));
  +              
       /* Cleanup */
       STD_TEST_NEQ("    Cleanup file1",
                    apr_file_remove("dir1/file1", pool))
  
  
  

Reply via email to