Wireless Daemon for Linux
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH 2/3] auto-t: fix testAddressRandomization
Date: Tue, 24 Mar 2020 13:24:02 -0700	[thread overview]
Message-ID: <20200324202403.26860-2-prestwoj@gmail.com> (raw)
In-Reply-To: <20200324202403.26860-1-prestwoj@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]

This test was dependent on having a local main.conf in /etc/iwd
---
 autotests/testAddressRandomization/connection_test.py | 2 +-
 autotests/testAddressRandomization/hw.conf            | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/autotests/testAddressRandomization/connection_test.py b/autotests/testAddressRandomization/connection_test.py
index fab8fea9..74c9601d 100644
--- a/autotests/testAddressRandomization/connection_test.py
+++ b/autotests/testAddressRandomization/connection_test.py
@@ -38,7 +38,7 @@ class Test(unittest.TestCase):
         return device.address
 
     def test_connection_success(self):
-        wd = IWD(True)
+        wd = IWD()
 
         devices = wd.list_devices(1)
         device = devices[0]
diff --git a/autotests/testAddressRandomization/hw.conf b/autotests/testAddressRandomization/hw.conf
index fa46c8b8..35af520e 100644
--- a/autotests/testAddressRandomization/hw.conf
+++ b/autotests/testAddressRandomization/hw.conf
@@ -1,6 +1,5 @@
 [SETUP]
 num_radios=2
-start_iwd=0
 tmpfs_extra_stuff=main.conf
 
 [HOSTAPD]
-- 
2.21.1

  reply	other threads:[~2020-03-24 20:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-24 20:24 [PATCH 1/3] test-runner: make default iwd_config_dir=/tmp James Prestwood
2020-03-24 20:24 ` James Prestwood [this message]
2020-03-24 20:24 ` [PATCH 3/3] auto-t: remove iwd_config_dir from autotests James Prestwood
2020-03-24 21:32 ` [PATCH 1/3] test-runner: make default iwd_config_dir=/tmp Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200324202403.26860-2-prestwoj@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=iwd@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox