From c181d38453a61a65b362591361ef1c4cc70ebfde Mon Sep 17 00:00:00 2001 From: Silvan Fischer Date: Thu, 14 May 2020 09:23:40 +0200 Subject: [PATCH] Fix P08 test --- .../c_get_exec_list/tests/tests.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/P08_Auflisten_aller_PATH_Executables/c_get_exec_list/tests/tests.c b/P08_Auflisten_aller_PATH_Executables/c_get_exec_list/tests/tests.c index 6a22285..23b8812 100644 --- a/P08_Auflisten_aller_PATH_Executables/c_get_exec_list/tests/tests.c +++ b/P08_Auflisten_aller_PATH_Executables/c_get_exec_list/tests/tests.c @@ -63,8 +63,9 @@ static void test_paths(void) snprintf(buf, PATH_SIZE, "4:../bin:%s\n", name); const char *out_txt[] = - { "1:.:runtest\n" - , buf + { "1:.:runtest\n", + "2::runtest\n", + buf }; const char *err_txt[] = { NULL }; // act