From afa3d4fb66952739219e438ee8351780787bd94f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 14 Feb 2024 14:03:35 +0100 Subject: [PATCH] tests: remove the not used t_exec_callee --- programs/tests/CMakeLists.txt | 1 - programs/tests/t_exec_callee.c | 18 ------------------ 2 files changed, 19 deletions(-) delete mode 100644 programs/tests/t_exec_callee.c diff --git a/programs/tests/CMakeLists.txt b/programs/tests/CMakeLists.txt index d1dc66b..eca7307 100644 --- a/programs/tests/CMakeLists.txt +++ b/programs/tests/CMakeLists.txt @@ -15,7 +15,6 @@ set(TEST_LIST t_sigmask.c t_getenv.c t_sigusr.c - t_exec_callee.c t_shmget.c t_stopcont.c t_semop.c diff --git a/programs/tests/t_exec_callee.c b/programs/tests/t_exec_callee.c deleted file mode 100644 index f0c4228..0000000 --- a/programs/tests/t_exec_callee.c +++ /dev/null @@ -1,18 +0,0 @@ -/// @file t_exec_callee.c -/// @brief -/// @copyright (c) 2014-2024 This file is distributed under the MIT License. -/// See LICENSE.md for details. - -#include -#include - -int main(int argc, char *argv[]) -{ - char *ENV_VAR = getenv("ENV_VAR"); - if (ENV_VAR == NULL) { - printf("Failed to get env: `ENV_VAR`\n"); - return 1; - } - printf("ENV_VAR = %s\n", ENV_VAR); - return 0; -}