Revert vim shell script file mode from 644 to 755
In patch [1], the mode of tools/test-setup-default-vim.sh shell script file was changed from 755 to 644 because of which it's fails to run the script which registers a default vim 'VIM0' needed to run for some of the functional tests. This patch reverts back the mode of test-setup-default-vim.sh from 644 to 755 and logs meaningful error message in case the script file doesn't exists or it doesn't have execute permission. [1] : https://review.opendev.org/#/c/674761 Change-Id: I4651bdd89da12720416e630173f80cc788911307 Closes-Bug: #1874007
This commit is contained in:
parent
f8f008dc2c
commit
e99738ff17
|
@ -14,6 +14,11 @@
|
|||
stat:
|
||||
path: "{{ zuul_work_dir }}/tools/test-setup-default-vim.sh"
|
||||
register: p
|
||||
- fail:
|
||||
msg: >
|
||||
{{ zuul_work_dir }}/tools/test-setup-default-vim.sh doesn't exists
|
||||
or it doesn't have execute permission.
|
||||
when: p.stat.exists != True or p.stat.executable != True
|
||||
|
||||
- name: Run tools/test-setup-default-vim.sh
|
||||
command: tools/test-setup-default-vim.sh
|
||||
|
|
Loading…
Reference in New Issue