Skip to content

Commit

Permalink
tests: fix location
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Stephens <[email protected]>
  • Loading branch information
patrick-stephens committed Dec 5, 2024
1 parent 7092fb5 commit cb0a847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/runtime/custom_calyptia_input_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@ static void test_calyptia_machine_id_generation() {
new_machine_id = NULL;

/* repeat with new config directory */
t_ctx = update_config_dir(t_ctx, "/test/config/fleet");
t_ctx = update_config_dir(t_ctx, "/tmp/config/fleet");
TEST_CHECK(t_ctx != NULL);

/* check we use the new directory for the filename */
ret = sprintf(expectedValue, "/test/config/fleet/machine-id.conf");
ret = sprintf(expectedValue, "/tmp/config/fleet/machine-id.conf");
TEST_CHECK(ret > 0);

value = machine_id_fleet_config_filename(t_ctx->ctx);
Expand Down

0 comments on commit cb0a847

Please sign in to comment.