From: Matthias Maier Date: Wed, 21 Aug 2013 05:44:33 +0000 (+0000) Subject: Fix a lot more output X-Git-Tag: v8.1.0~570^2~451 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5da29f35c72b2c5816c1652f6542a6147779ff32;p=dealii.git Fix a lot more output git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30366 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/data_out_reader_01.cc b/tests/base/data_out_reader_01.cc index 2bc1833320..6451ef7a31 100644 --- a/tests/base/data_out_reader_01.cc +++ b/tests/base/data_out_reader_01.cc @@ -75,12 +75,12 @@ void check() data.merge (additional_data); { - std::ofstream out2( "data_out_reader_01/outfile"); + std::ofstream out2( "outfile"); data.write_deal_II_intermediate (out2); } - cat_file("data_out_reader_01/outfile"); - std::remove ("data_out_reader_01/outfile"); + cat_file("outfile"); + std::remove ("outfile"); } diff --git a/tests/base/index_set_readwrite_01.cc b/tests/base/index_set_readwrite_01.cc index f0460a87fe..001f6d75bb 100644 --- a/tests/base/index_set_readwrite_01.cc +++ b/tests/base/index_set_readwrite_01.cc @@ -35,10 +35,10 @@ void test () is1.add_range(0,10); is1.add_range(20,100); - std::ofstream out("index_set_readwrite_01/a.idxset"); + std::ofstream out("a.idxset"); is1.write(out); IndexSet is2; - std::ifstream in("index_set_readwrite_01/a.idxset"); + std::ifstream in("a.idxset"); is2.read(in); Assert(is1 == is2, ExcInternalError()); @@ -46,14 +46,14 @@ void test () IndexSet is3(11); is3.add_range(3,5); - std::ifstream in2("index_set_readwrite_01/a.idxset"); + std::ifstream in2("a.idxset"); is3.read(in2); Assert(is1 == is3, ExcInternalError()); deallog << "OK" << std::endl; - std::remove ("index_set_readwrite_01/a.idxset"); + std::remove ("a.idxset"); } diff --git a/tests/base/index_set_readwrite_02.cc b/tests/base/index_set_readwrite_02.cc index 458810942e..c08e5f9447 100644 --- a/tests/base/index_set_readwrite_02.cc +++ b/tests/base/index_set_readwrite_02.cc @@ -36,12 +36,12 @@ void test () is1.add_range(20,100); { - std::ofstream out("index_set_readwrite_02/a.idxset"); + std::ofstream out("a.idxset"); is1.block_write(out); } IndexSet is2; - std::ifstream in("index_set_readwrite_02/a.idxset"); + std::ifstream in("a.idxset"); is2.block_read(in); Assert(is1 == is2, ExcInternalError()); @@ -49,14 +49,14 @@ void test () IndexSet is3(11); is3.add_range(3,5); - std::ifstream in2("index_set_readwrite_02/a.idxset"); + std::ifstream in2("a.idxset"); is3.block_read(in2); Assert(is1 == is3, ExcInternalError()); deallog << "OK" << std::endl; - std::remove ("index_set_readwrite_02/a.idxset"); + std::remove ("a.idxset"); } diff --git a/tests/base/index_set_readwrite_03.cc b/tests/base/index_set_readwrite_03.cc index f81427de6c..28832bb910 100644 --- a/tests/base/index_set_readwrite_03.cc +++ b/tests/base/index_set_readwrite_03.cc @@ -36,12 +36,12 @@ void test () is1.add_range(0,75); { - std::ofstream out("index_set_readwrite_03/a.idxset"); + std::ofstream out("a.idxset"); is1.block_write(out); } IndexSet is2; - std::ifstream in("index_set_readwrite_03/a.idxset"); + std::ifstream in("a.idxset"); is2.block_read(in); Assert(is1 == is2, ExcInternalError()); @@ -50,7 +50,7 @@ void test () deallog << "OK" << std::endl; - std::remove ("index_set_readwrite_03/a.idxset"); + std::remove ("a.idxset"); }