diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2018-10-09 12:28:21 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-10-10 13:41:11 +0000 |
commit | 997439170aa3bb562c84e882c45331ba476e7c8e (patch) | |
tree | 868936a7ccb9f3b1a9c2fcc670bf100d24ee21a8 /test/vpp_memif.py | |
parent | 46fb787e21c758f6e88729ea34d3d721cd9b34eb (diff) |
Test FW: Use unittest temp dir as unix runtime dir
Change-Id: I5273d5f3f59cc3c43da0a15bb0c4a4056098adcf
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'test/vpp_memif.py')
-rw-r--r-- | test/vpp_memif.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/vpp_memif.py b/test/vpp_memif.py index 2095480a7c2..24e8d19b1c7 100644 --- a/test/vpp_memif.py +++ b/test/vpp_memif.py @@ -50,7 +50,8 @@ class VppSocketFilename(VppObject): rv = self._test.vapi.memif_socket_filename_add_del( 1, self.socket_id, self.socket_filename) if self.add_default_folder: - self.socket_filename = "/run/vpp/" + self.socket_filename + self.socket_filename = self._test.tempdir + "/" \ + + self.socket_filename return rv def remove_vpp_config(self): |