[Haiku-commits] r30948 - haiku/trunk/src/tests/add-ons/kernel/file_systems/random_file_actions
axeld at BerliOS
axeld at mail.berlios.de
Wed Jun 3 14:16:26 CEST 2009
Author: axeld
Date: 2009-06-03 14:16:25 +0200 (Wed, 03 Jun 2009)
New Revision: 30948
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=30948&view=rev
Modified:
haiku/trunk/src/tests/add-ons/kernel/file_systems/random_file_actions/random_file_actions.cpp
Log:
* Improved output.
Modified: haiku/trunk/src/tests/add-ons/kernel/file_systems/random_file_actions/random_file_actions.cpp
===================================================================
--- haiku/trunk/src/tests/add-ons/kernel/file_systems/random_file_actions/random_file_actions.cpp 2009-06-03 12:14:16 UTC (rev 30947)
+++ haiku/trunk/src/tests/add-ons/kernel/file_systems/random_file_actions/random_file_actions.cpp 2009-06-03 12:16:25 UTC (rev 30948)
@@ -167,7 +167,7 @@
"\t\t\t\tmeaning only check once at the end.\n"
" -n, --no-cache\t\tDisables the file cache when doing I/O on\n"
"\t\t\t\ta file.\n"
- " -a, --always-check\tAlways check contents before removing data.\n"
+ " -a, --always-check\t\tAlways check contents before removing data.\n"
" -k, --keep-dirty\t\tDo not remove the working files on quit.\n"
" -v, --verbose\t\t\tShow the actions as being performed\n",
kProgramName, kDefaultRunCount, kDefaultFileCount, kDefaultDirCount,
@@ -486,7 +486,7 @@
std::string parent = choose_parent(dirs);
std::string name = create_name(parent, "dir");
- action("create dir %s", name.c_str());
+ action("create dir %s (identifier %lu)", name.c_str(), sCount);
if (mkdir(name.c_str(), 0777) != 0)
error("creating dir \"%s\" failed: %s", name.c_str(), strerror(errno));
@@ -534,7 +534,7 @@
std::string parent = choose_parent(dirs);
std::string name = create_name(parent, "file");
- action("create file %s", name.c_str());
+ action("create file %s (identifier %lu)", name.c_str(), sCount);
int fd = open_file(name, O_RDWR | O_CREAT | O_TRUNC);
if (fd < 0)
More information about the Haiku-commits
mailing list