Change in vdsm[master]: netinfoTests: do not overwrite /etc/resolv.conf

danken at redhat.com danken at redhat.com
Sat Sep 19 14:05:39 UTC 2015


Dan Kenigsberg has submitted this change and it was merged.

Change subject: netinfoTests: do not overwrite /etc/resolv.conf
......................................................................


netinfoTests: do not overwrite /etc/resolv.conf

os.path.join ignores any initial path components if it is passed
an absolute path, so a relative path must be used. Now, 'etc'
directory is never created and for test purposes it is not necessary
to do so, therefore stick with temp_dir and 'resolv.conf'.

Change-Id: I0985ce6e664d1cb50b63c6cbec7c8ca87899be18
Signed-off-by: Ondřej Svoboda <osvoboda at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/46396
Continuous-Integration: Jenkins CI
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M tests/netinfoTests.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ondřej Svoboda: Verified
  Jenkins CI: Passed CI tests
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/46396
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0985ce6e664d1cb50b63c6cbec7c8ca87899be18
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: automation at ovirt.org


More information about the vdsm-patches mailing list