Commit 2f67ca81 authored by Eric Cano's avatar Eric Cano
Browse files

Added now necessary minimal configuration for some system tests.

parent 9ec5ed6e
......@@ -48,8 +48,13 @@ TEST(cta_taped, InvocationTests) {
// Does the tape server complain about absence of drive configuration?
// We provide le daemon with an existing (but empty) configuration file
// We provide le daemon with an existing (but almost empty) configuration
// file. The mandatory fields are present.
unitTests::TempFile tf;
"#A good enough configuration file for taped\n"
"general ObjectStoreURL vfsObjectStore:///tmp/dir\n"
"general FileCatalogURL sqliteFileCatalog:///tmp/dir2\n");
Subprocess spNoDrive("cta-taped", std::list<std::string>({"cta-taped", "-f", "-s", "-c", tf.path()}));
ASSERT_NE(std::string::npos, spNoDrive.stdout().find("MSG=\"Aborting\" Message=\"No drive found in configuration\""));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment