use quoting to avoid issues with blanks and special characters

This commit is contained in:
Axel Kohlmeyer
2022-01-29 21:05:19 -05:00
parent 33be5ff0b4
commit 6ff157a099

View File

@ -46,8 +46,8 @@ protected:
LAMMPSTest::SetUp();
if (info->has_style("atom", "full")) {
BEGIN_HIDE_OUTPUT();
command("variable input_dir index " STRINGIFY(TEST_INPUT_FOLDER));
command("include ${input_dir}/in.fourmol");
command("variable input_dir index \"" STRINGIFY(TEST_INPUT_FOLDER) "\"");
command("include \"${input_dir}/in.fourmol\"");
END_HIDE_OUTPUT();
}
}