diff --git a/tests/t8000-actions.sh b/tests/t8000-actions.sh index 91e3f198..03a1fbea 100755 --- a/tests/t8000-actions.sh +++ b/tests/t8000-actions.sh @@ -24,6 +24,11 @@ custom action foo EOF chmod -x .todo.actions.d/foo +# On Cygwin, clearing the executable flag may have no effect, as the Windows ACL +# may still grant execution rights. In this case, we skip the test. +if [ -x .todo.actions.d/foo ]; then + SKIP_TESTS="${SKIP_TESTS}${SKIP_TESTS+ }t8000.2" +fi test_todo_session 'nonexecutable action' <>> todo.sh foo Usage: todo.sh [-fhpantvV] [-d todo_config] action [task_number] [task_description]