From b6ffebc3aa67e02a58f4ca67cfef2db205e1c4cc Mon Sep 17 00:00:00 2001 From: pal1000 Date: Sun, 21 Aug 2022 18:36:05 +0300 Subject: [PATCH] tests: Make sure chmod is used only when possible Fixes: fa803c7e --- tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index b331310..ebf41f6 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -19,5 +19,5 @@ tests = [ # yuck foreach test : tests test_file = configure_file(input: test + '.sh', output: test, copy: true) - run_command('chmod', '755', test_file, check : true) + run_command(find_program('chmod', required : false, disabler : true), '755', test_file, check : true) endforeach