Fix some more integration tests for Linux

This commit is contained in:
twangboy 2017-09-12 15:30:12 -06:00
parent 3f0499cbc4
commit 72ac59c991
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -883,7 +883,11 @@ def _check_dir_meta(name,
'''
Check the changes in directory metadata
'''
stats = __salt__['file.stats'](name, None, follow_symlinks)
try:
stats = __salt__['file.stats'](name, None, follow_symlinks)
except CommandExecutionError:
state = {}
changes = {}
if not stats:
changes['directory'] = 'new'