diff --git a/libc/misc/stat.c b/libc/misc/stat.c index f0785f287..50ad07bd0 100644 --- a/libc/misc/stat.c +++ b/libc/misc/stat.c @@ -961,10 +961,6 @@ TEST(stat_errno, enoent) TEST(stat_errno, enotdir) { -/* Disabled on Phoenix-RTOS because of #682 issue: https://github.com/phoenix-rtos/phoenix-rtos-project/issues/682*/ -#ifdef __phoenix__ - TEST_IGNORE_MESSAGE("#682 issue"); -#endif struct stat buffer; errno = 0; diff --git a/psh/test-touch.py b/psh/test-touch.py index e48c434a9..0c66aae29 100644 --- a/psh/test-touch.py +++ b/psh/test-touch.py @@ -62,10 +62,9 @@ def assert_multi_arg(p, path, random_wrapper: TestRandom): def assert_file_slash(p): - """ in psh touch we do not expect error when touching file/ """ file_path = f'{ROOT_TEST_DIR}/slash_file/' assert_file_created(p, file_path) - psh.assert_cmd(p, f'touch {file_path}', result='success') + psh.assert_cmd(p, f'touch {file_path}', result='fail', expected=f'psh: failed to touch {file_path}: ENOTDIR') def assert_created_dir(p):