Skip to content
Snippets Groups Projects
Commit c67fea5e authored by Eric Cano's avatar Eric Cano
Browse files

Added now necessary minimal configuration for some system tests.

parent fde1111a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
tf.stringAppend(
"#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()}));
spNoDrive.wait();
ASSERT_NE(std::string::npos, spNoDrive.stdout().find("MSG=\"Aborting\" Message=\"No drive found in configuration\""));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment