Adding egrep hook; better iteration for whitespace; improving local tests
This commit is contained in:
@@ -2,7 +2,7 @@ import os
|
||||
import pytest
|
||||
|
||||
def test_hooks_exec():
|
||||
fh = os.popen("find Hooks -type f -exec ls -l {} \\; | egrep ^-rw-")
|
||||
fh = os.popen("find Hooks -type f -exec ls -l {} \\; | grep -E ^-rw-")
|
||||
output = fh.read()
|
||||
retcode = fh.close()
|
||||
assert retcode == 256 and output == ''
|
||||
|
Reference in New Issue
Block a user