auto-t: fix testP2P
Torsten Schmitz
PATCH 1/1 auto-t: fix testP2P
testP2P was failing with
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/wpa_supplicant.conf'
--- tools/test-runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/test-runner +0 -0
@@ -955,7 +955,7 @@ class TestContext(Namespace): else: wpas_radios = [rad for rad in self.radios if
rad.name in settings]
- self.wpas_interfaces =
[rad.create_interface('wpa_supplicant.conf', 'wpas') \
+ self.wpas_interfaces =
[rad.create_interface(settings[rad.name], 'wpas') \
for rad in wpas_radios]
def start_ofono(self):
--
2.33.1
Denis Kenzior
Hi Torsten,
Quoted 7 lines · Torsten Schmitz
testP2P was failing with
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/wpa_supplicant.conf'--- tools/test-runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This fails to apply:
denkenz(a)localhost ~/iwd-master $ git am ~/merge/\[PATCH\]\ auto-t\:\ fix\
testP2P.eml
Applying: auto-t: fix testP2P
error: corrupt patch at line 13
Patch failed at 0001 auto-t: fix testP2P
Regards,
-Denis
Torsten Schmitz
PATCH 1/1 auto-t: fix testP2P
testP2P was failing with
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/wpa_supplicant.conf'
--- tools/test-runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/test-runner +1 -1
@@ -955,7 +955,7 @@ class TestContext(Namespace): else: wpas_radios = [rad for rad in self.radios if rad.name in settings] - self.wpas_interfaces = [rad.create_interface('wpa_supplicant.conf', 'wpas') \ + self.wpas_interfaces = [rad.create_interface(settings[rad.name], 'wpas') \ for rad in wpas_radios] def start_ofono(self):
Signature · 1 line
2.33.1
Denis Kenzior
AppliedHi Torsten,
Quoted 5 lines · Torsten Schmitz
testP2P was failing with
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/wpa_supplicant.conf'--- tools/test-runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Regards,
-Denis