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

[#899] fixed CI warnings

This commit is contained in:
Razvan Becheriu
2021-01-29 18:18:01 +02:00
parent 461463bb2f
commit 0368f4939d
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ public:
/// @param vars Environment variables for the program to be executed. /// @param vars Environment variables for the program to be executed.
ProcessSpawn(const std::string& executable, ProcessSpawn(const std::string& executable,
const ProcessArgs& args = ProcessArgs(), const ProcessArgs& args = ProcessArgs(),
const ProcessEnvVars& = ProcessEnvVars()); const ProcessEnvVars& vars = ProcessEnvVars());
/// @brief Destructor. /// @brief Destructor.
~ProcessSpawn(); ~ProcessSpawn();

View File

@@ -50,7 +50,7 @@ do
VAR_NAME=${1} VAR_NAME=${1}
shift shift
VAR_VALUE=${1} VAR_VALUE=${1}
EXPECTED=$(env | grep ${VAR_NAME}) EXPECTED=$(env | grep "${VAR_NAME}")
if ! test "${VAR_NAME}=${VAR_VALUE}" = "${EXPECTED}"; then if ! test "${VAR_NAME}=${VAR_VALUE}" = "${EXPECTED}"; then
exit 123 exit 123
fi fi