3 @@ -464,25 +464,37 @@ int COpenTest::delete_sequential(BonTime
5 if(m_number_directories != 1)
7 - if(chdir("..") || rmdir(buf))
15 + fprintf(stderr, "Unable to delete directory '%s'\n", buf);
21 - if(chdir("..") || rmdir(m_dirname))
22 + if(count != m_number)
25 + fprintf(stderr, "Expected %d files but only got %d\n", m_number, count);
30 - if(count != m_number)
33 - fprintf(stderr, "Expected %d files but only got %d\n", m_number, count);
37 + if(rmdir(m_dirname))
39 + fprintf(stderr, "Unable to delete directory '%s'\n", m_dirname);
46 timer.stop_and_record(DelSeq);
47 timer.add_latency(DelSeq, dur.getMax());