arehbein has uploaded this change for review.

View Change

WIP: scripts/osmotestconfig.py: Fix tests failing due to attempted copy on socket files

Related: OS#5858
Change-Id: I3a3cc7ed135b60b97eb901cfc20fdcb924e4f664
---
M scripts/osmotestconfig.py
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/80/30980/1
diff --git a/scripts/osmotestconfig.py b/scripts/osmotestconfig.py
index 8b3bb84..5302758 100755
--- a/scripts/osmotestconfig.py
+++ b/scripts/osmotestconfig.py
@@ -77,7 +77,7 @@

def copy_config(dirname, config):
shutil.rmtree(dirname, True)
- ign = shutil.ignore_patterns('*.cfg')
+ ign = shutil.ignore_patterns('*.cfg', '*tmp_dummy_sock')
shutil.copytree(os.path.dirname(config), dirname, ignore=ign)
os.chmod(dirname, stat.S_IRWXU)


To view, visit change 30980. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Change-Id: I3a3cc7ed135b60b97eb901cfc20fdcb924e4f664
Gerrit-Change-Number: 30980
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein@sysmocom.de>
Gerrit-MessageType: newchange