From fbca9c448a6982df553ffc99ea9e39ffce30c0dc Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Wed, 11 May 2005 13:16:50 +0000 Subject: [PATCH] Add copy_file test log messages to aid loop/hang diagnosis [SVN r28819] --- test/operations_test.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/operations_test.cpp b/test/operations_test.cpp index ed30df3..11219da 100644 --- a/test/operations_test.cpp +++ b/test/operations_test.cpp @@ -335,12 +335,15 @@ int test_main( int argc, char * argv[] ) } // copy_file() tests -/* fs::copy_file( file_ph, d1 / "f2" ); + std::cout << "begin copy_file test..." << std::endl; + fs::copy_file( file_ph, d1 / "f2" ); + std::cout << "copying complete" << std::endl; BOOST_CHECK( fs::exists( file_ph ) ); BOOST_CHECK( fs::exists( d1 / "f2" ) ); BOOST_CHECK( !fs::is_directory( d1 / "f2" ) ); verify_file( d1 / "f2", "foobar1" ); -*/ + std::cout << "copy_file test complete" << std::endl; + // rename() test case numbers refer to operations.htm#rename table // [case 1] make sure can't rename() a non-existent file