diff --git a/src/helpers.c b/src/helpers.c index fb9902c8..10708050 100644 --- a/src/helpers.c +++ b/src/helpers.c @@ -229,7 +229,7 @@ int create_state_dirs(const char *state_dir_path) unsigned int i; char *dir; #define STATE_DIR_COUNT (sizeof(state_dirs) / sizeof(state_dirs[0])) - const char *state_dirs[] = { "delta", "staged", "download", "telemetry", "bundles" }; + const char *state_dirs[] = { "delta", "staged", "download", "telemetry", "bundles", "3rd_party" }; // check for existence if (ensure_root_owned_dir(state_dir_path)) { diff --git a/test/functional/testlib.bash b/test/functional/testlib.bash index 48c9747f..ce6886ab 100644 --- a/test/functional/testlib.bash +++ b/test/functional/testlib.bash @@ -1626,7 +1626,7 @@ create_test_environment() { # swupd_function # state files & dirs debug_msg "Creating a state dir" - sudo mkdir -p "$statedir"/{staged,download,delta,telemetry,bundles} + sudo mkdir -p "$statedir"/{staged,download,delta,telemetry,bundles,3rd_party} sudo chmod -R 0700 "$statedir" # export environment variables that are dependent of the test env