2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#1680] Fixed first occurrence (tentative)

This commit is contained in:
Francis Dupont
2021-04-30 12:57:35 +02:00
committed by Razvan Becheriu
parent a9d00c4698
commit ee9fd2e524
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES) $(CRYPTO_CFLAGS) $(CRYPTO_INCLUDES)
AM_CPPFLAGS += -DTEST_SCRIPT_SH=\"$(abs_top_builddir)/src/lib/asiolink/tests/process_spawn_app.sh\"
AM_CPPFLAGS += -DTEST_SCRIPT_SH_IN=\"$(abs_top_srcdir)/src/lib/asiolink/tests/process_spawn_app.sh.in\"
TEST_CA_DIR = $(abs_srcdir)/../testutils/ca
AM_CPPFLAGS += -DTEST_CA_DIR=\"$(TEST_CA_DIR)\"

View File

@@ -265,8 +265,7 @@ TEST_F(ProcessSpawnTest, invalidExecutable) {
ASSERT_THROW_MSG(ProcessSpawn process(io_service_, "foo"),
ProcessSpawnError, expected);
std::string name = TEST_SCRIPT_SH;
name += ".in";
std::string name = TEST_SCRIPT_SH_IN;
expected = "File not executable: ";
expected += name;