Explicitly created output in subdirectory.

This commit is contained in:
Joakim Hove
2016-06-24 19:39:46 +02:00
parent 299b453b56
commit 0f238d6552

View File

@@ -123,6 +123,11 @@ struct setup {
BOOST_AUTO_TEST_CASE(well_keywords) {
setup cfg( "test_Summary_well" );
// Force to run in a directory, to make sure the basename with
// leading path works.
util_make_path( "PATH" );
cfg.name = "PATH/CASE";
out::Summary writer( cfg.es, cfg.config, cfg.name );
writer.add_timestep( 0, 0 * day, cfg.es, cfg.wells );
writer.add_timestep( 1, 1 * day, cfg.es, cfg.wells );