2022-04-30 23:14:56 -05:00
|
|
|
import os
|
|
|
|
import pytest
|
|
|
|
|
|
|
|
def test_hooks_exec():
|
2023-01-25 22:31:55 -06:00
|
|
|
fh = os.popen("find Hooks -type f -exec ls -l {} \\; | grep -E ^-rw-")
|
2022-04-30 23:14:56 -05:00
|
|
|
output = fh.read()
|
|
|
|
retcode = fh.close()
|
|
|
|
assert retcode == 256 and output == ''
|