clients/tests: seed generated numbers for test-networkmanager-service.py

At several places, "test-networkmanager-service.py" uses generated numbers
with a defined seed. For example, generated connection's UUID is
generated in a predictable, but randomized way (if you forgive the
inprecise use of the word "random" in context of using a deterministic
seed).

Aside the connection's UUID, this becomes more interesting in the next commit
where the stub server generates a list of IP and DHCP settings in a predictable
randomized way.

For "clients/tests" we spawn the test service multiple times, but also
create similar environments by calling init_001(). This is done for
convenience, where out of lazyness all the tests share one setup. But it's
still a good idea that these tests generate slightly different setups,
wherever applicable. this increases the possible setups which get tested.
For example, the number of static IPv4 addresses (the following commit) is
interested to explicitly test for zero or a non-zero number of
addresses. If all tests happen to use the same seed, the tests are expected
to also generate the same number of addresses, and we miss an opportunity to
hit interesting test cases.

There is still no guarantee that all interesting cases are hit, the chances are just
better. The approach of generating the setup randomly, does not preclude that
the stub-server allows to explicitly configure the setup. However, due to the
sheer number of combinations that might be interesting to test, it's much simpler
to rely on some randomization and have the justifid hope we catch interesting cases.
Also in terms of runtime of the test, the cli unit tests should complete within
few seconds. Testing every combination would result in huge tests and long runtimes.

Also, the patch refactors generating random numbers in
"test-networkmanager-service.py". For example, it introduces
Util.RandomSeed(), which can be used to generate a sequence of different
random numbers. It works by having an internal state and a counter which is
combined to chain the seed and generate different numbers on each call.
This commit is contained in:
Thomas Haller 2018-06-07 17:42:31 +02:00
parent ac8f786987
commit dd2da759de
180 changed files with 381 additions and 306 deletions

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:658:test_001()/1
location: clients/tests/test-client.py:661:test_001()/1
cmd: $NMCLI
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:658:test_001()/2
location: clients/tests/test-client.py:661:test_001()/2
cmd: $NMCLI
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:660:test_001()/3
location: clients/tests/test-client.py:663:test_001()/3
cmd: $NMCLI -f AP -mode multiline -p d show wlan0
lang: C
returncode: 10

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:660:test_001()/4
location: clients/tests/test-client.py:663:test_001()/4
cmd: $NMCLI -f AP -mode multiline -p d show wlan0
lang: pl_PL.UTF-8
returncode: 10

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:662:test_001()/5
location: clients/tests/test-client.py:665:test_001()/5
cmd: $NMCLI c s
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:662:test_001()/6
location: clients/tests/test-client.py:665:test_001()/6
cmd: $NMCLI c s
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:664:test_001()/7
location: clients/tests/test-client.py:667:test_001()/7
cmd: $NMCLI bogus s
lang: C
returncode: 2

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:664:test_001()/8
location: clients/tests/test-client.py:667:test_001()/8
cmd: $NMCLI bogus s
lang: pl_PL.UTF-8
returncode: 2

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/9
location: clients/tests/test-client.py:675:test_001()/9
cmd: $NMCLI general permissions
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/10
location: clients/tests/test-client.py:675:test_001()/10
cmd: $NMCLI general permissions
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/11
location: clients/tests/test-client.py:675:test_001()/11
cmd: $NMCLI --pretty general permissions
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/12
location: clients/tests/test-client.py:675:test_001()/12
cmd: $NMCLI --pretty general permissions
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/13
location: clients/tests/test-client.py:675:test_001()/13
cmd: $NMCLI --terse general permissions
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/14
location: clients/tests/test-client.py:675:test_001()/14
cmd: $NMCLI --terse general permissions
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/15
location: clients/tests/test-client.py:675:test_001()/15
cmd: $NMCLI --mode tabular general permissions
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/16
location: clients/tests/test-client.py:675:test_001()/16
cmd: $NMCLI --mode tabular general permissions
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/17
location: clients/tests/test-client.py:675:test_001()/17
cmd: $NMCLI --mode tabular --pretty general permissions
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/18
location: clients/tests/test-client.py:675:test_001()/18
cmd: $NMCLI --mode tabular --pretty general permissions
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/19
location: clients/tests/test-client.py:675:test_001()/19
cmd: $NMCLI --mode tabular --terse general permissions
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/20
location: clients/tests/test-client.py:675:test_001()/20
cmd: $NMCLI --mode tabular --terse general permissions
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/21
location: clients/tests/test-client.py:675:test_001()/21
cmd: $NMCLI --mode multiline general permissions
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/22
location: clients/tests/test-client.py:675:test_001()/22
cmd: $NMCLI --mode multiline general permissions
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/23
location: clients/tests/test-client.py:675:test_001()/23
cmd: $NMCLI --mode multiline --pretty general permissions
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/24
location: clients/tests/test-client.py:675:test_001()/24
cmd: $NMCLI --mode multiline --pretty general permissions
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/25
location: clients/tests/test-client.py:675:test_001()/25
cmd: $NMCLI --mode multiline --terse general permissions
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:672:test_001()/26
location: clients/tests/test-client.py:675:test_001()/26
cmd: $NMCLI --mode multiline --terse general permissions
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:677:test_002()/1
location: clients/tests/test-client.py:680:test_002()/1
cmd: $NMCLI d
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:677:test_002()/2
location: clients/tests/test-client.py:680:test_002()/2
cmd: $NMCLI d
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:679:test_002()/3
location: clients/tests/test-client.py:682:test_002()/3
cmd: $NMCLI -f all d
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:679:test_002()/4
location: clients/tests/test-client.py:682:test_002()/4
cmd: $NMCLI -f all d
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:681:test_002()/5
location: clients/tests/test-client.py:684:test_002()/5
cmd: $NMCLI
lang: C
returncode: 0
@ -6,23 +6,23 @@ stdout: 621 bytes
>>>
eth0: unavailable
"eth0"
ethernet (virtual), 72:41:AB:90:41:5D, hw
ethernet (virtual), 65:2E:D3:9E:0A:0D, hw
eth1: unavailable
"eth1"
ethernet (virtual), 1F:E6:D1:E6:1D:53, hw
ethernet (virtual), 47:D5:6B:65:FD:6A, hw
wlan0: unavailable
"wlan0"
wifi (virtual), 5A:88:5E:B6:90:40, hw
wifi (virtual), 3D:99:1D:8B:74:4D, hw
wlan1: unavailable
"wlan1"
wifi (virtual), 7C:D4:69:31:67:0B, hw
wifi (virtual), 99:09:77:FD:FE:1D, hw
wlan1: unavailable
"wlan1"
wifi (virtual), 41:21:6B:F3:C9:4A, hw
wifi (virtual), 5D:30:4A:EC:3F:61, hw
DNS configuration:
servers: 1.2.3.4 5.6.7.8

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:681:test_002()/6
location: clients/tests/test-client.py:684:test_002()/6
cmd: $NMCLI
lang: pl_PL.UTF-8
returncode: 0
@ -6,23 +6,23 @@ stdout: 684 bytes
>>>
eth0: niedostępne
"eth0"
ethernet (virtual), 72:41:AB:90:41:5D, sprzęt
ethernet (virtual), 65:2E:D3:9E:0A:0D, sprzęt
eth1: niedostępne
"eth1"
ethernet (virtual), 1F:E6:D1:E6:1D:53, sprzęt
ethernet (virtual), 47:D5:6B:65:FD:6A, sprzęt
wlan0: niedostępne
"wlan0"
wifi (virtual), 5A:88:5E:B6:90:40, sprzęt
wifi (virtual), 3D:99:1D:8B:74:4D, sprzęt
wlan1: niedostępne
"wlan1"
wifi (virtual), 7C:D4:69:31:67:0B, sprzęt
wifi (virtual), 99:09:77:FD:FE:1D, sprzęt
wlan1: niedostępne
"wlan1"
wifi (virtual), 41:21:6B:F3:C9:4A, sprzęt
wifi (virtual), 5D:30:4A:EC:3F:61, sprzęt
DNS configuration:
servers: 1.2.3.4 5.6.7.8

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:683:test_002()/7
location: clients/tests/test-client.py:686:test_002()/7
cmd: $NMCLI -f AP -mode multiline d show wlan0
lang: C
returncode: 0
@ -9,24 +9,24 @@ AP[1].SSID: wlan0-ap-3
AP[1].MODE: Infra
AP[1].CHAN: 1
AP[1].RATE: 54 Mbit/s
AP[1].SIGNAL: 88
AP[1].BARS: ****
AP[1].SIGNAL: 55
AP[1].BARS: **
AP[1].SECURITY: WPA1 WPA2
AP[2].IN-USE:
AP[2].SSID: wlan0-ap-2
AP[2].SSID: wlan0-ap-1
AP[2].MODE: Infra
AP[2].CHAN: 1
AP[2].RATE: 54 Mbit/s
AP[2].SIGNAL: 61
AP[2].BARS: ***
AP[2].SIGNAL: 44
AP[2].BARS: **
AP[2].SECURITY: WPA1 WPA2
AP[3].IN-USE:
AP[3].SSID: wlan0-ap-1
AP[3].SSID: wlan0-ap-2
AP[3].MODE: Infra
AP[3].CHAN: 1
AP[3].RATE: 54 Mbit/s
AP[3].SIGNAL: 29
AP[3].BARS: *
AP[3].SIGNAL: 34
AP[3].BARS: **
AP[3].SECURITY: WPA1 WPA2
<<<

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:683:test_002()/8
location: clients/tests/test-client.py:686:test_002()/8
cmd: $NMCLI -f AP -mode multiline d show wlan0
lang: pl_PL.UTF-8
returncode: 0
@ -9,24 +9,24 @@ AP[1].SSID: wlan0-ap-3
AP[1].MODE: Infrastruktura
AP[1].CHAN: 1
AP[1].RATE: 54Mb/s
AP[1].SIGNAL: 88
AP[1].BARS: ****
AP[1].SIGNAL: 55
AP[1].BARS: **
AP[1].SECURITY: WPA1 WPA2
AP[2].IN-USE:
AP[2].SSID: wlan0-ap-2
AP[2].SSID: wlan0-ap-1
AP[2].MODE: Infrastruktura
AP[2].CHAN: 1
AP[2].RATE: 54Mb/s
AP[2].SIGNAL: 61
AP[2].BARS: ***
AP[2].SIGNAL: 44
AP[2].BARS: **
AP[2].SECURITY: WPA1 WPA2
AP[3].IN-USE:
AP[3].SSID: wlan0-ap-1
AP[3].SSID: wlan0-ap-2
AP[3].MODE: Infrastruktura
AP[3].CHAN: 1
AP[3].RATE: 54Mb/s
AP[3].SIGNAL: 29
AP[3].BARS: *
AP[3].SIGNAL: 34
AP[3].BARS: **
AP[3].SECURITY: WPA1 WPA2
<<<

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:684:test_002()/9
location: clients/tests/test-client.py:687:test_002()/9
cmd: $NMCLI -f AP -mode multiline -p d show wlan0
lang: C
returncode: 0
@ -12,26 +12,26 @@ AP[1].SSID: wlan0-ap-3
AP[1].MODE: Infra
AP[1].CHAN: 1
AP[1].RATE: 54 Mbit/s
AP[1].SIGNAL: 88
AP[1].BARS: ****
AP[1].SIGNAL: 55
AP[1].BARS: **
AP[1].SECURITY: WPA1 WPA2
-------------------------------------------------------------------------------
AP[2].IN-USE:
AP[2].SSID: wlan0-ap-2
AP[2].SSID: wlan0-ap-1
AP[2].MODE: Infra
AP[2].CHAN: 1
AP[2].RATE: 54 Mbit/s
AP[2].SIGNAL: 61
AP[2].BARS: ***
AP[2].SIGNAL: 44
AP[2].BARS: **
AP[2].SECURITY: WPA1 WPA2
-------------------------------------------------------------------------------
AP[3].IN-USE:
AP[3].SSID: wlan0-ap-1
AP[3].SSID: wlan0-ap-2
AP[3].MODE: Infra
AP[3].CHAN: 1
AP[3].RATE: 54 Mbit/s
AP[3].SIGNAL: 29
AP[3].BARS: *
AP[3].SIGNAL: 34
AP[3].BARS: **
AP[3].SECURITY: WPA1 WPA2
-------------------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:684:test_002()/10
location: clients/tests/test-client.py:687:test_002()/10
cmd: $NMCLI -f AP -mode multiline -p d show wlan0
lang: pl_PL.UTF-8
returncode: 0
@ -12,26 +12,26 @@ AP[1].SSID: wlan0-ap-3
AP[1].MODE: Infrastruktura
AP[1].CHAN: 1
AP[1].RATE: 54Mb/s
AP[1].SIGNAL: 88
AP[1].BARS: ****
AP[1].SIGNAL: 55
AP[1].BARS: **
AP[1].SECURITY: WPA1 WPA2
-------------------------------------------------------------------------------
AP[2].IN-USE:
AP[2].SSID: wlan0-ap-2
AP[2].SSID: wlan0-ap-1
AP[2].MODE: Infrastruktura
AP[2].CHAN: 1
AP[2].RATE: 54Mb/s
AP[2].SIGNAL: 61
AP[2].BARS: ***
AP[2].SIGNAL: 44
AP[2].BARS: **
AP[2].SECURITY: WPA1 WPA2
-------------------------------------------------------------------------------
AP[3].IN-USE:
AP[3].SSID: wlan0-ap-1
AP[3].SSID: wlan0-ap-2
AP[3].MODE: Infrastruktura
AP[3].CHAN: 1
AP[3].RATE: 54Mb/s
AP[3].SIGNAL: 29
AP[3].BARS: *
AP[3].SIGNAL: 34
AP[3].BARS: **
AP[3].SECURITY: WPA1 WPA2
-------------------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:685:test_002()/11
location: clients/tests/test-client.py:688:test_002()/11
cmd: $NMCLI -f AP -mode multiline -t d show wlan0
lang: C
returncode: 0
@ -9,24 +9,24 @@ AP[1].SSID:wlan0-ap-3
AP[1].MODE:Infra
AP[1].CHAN:1
AP[1].RATE:54 Mbit/s
AP[1].SIGNAL:88
AP[1].BARS:****
AP[1].SIGNAL:55
AP[1].BARS:**
AP[1].SECURITY:WPA1 WPA2
AP[2].IN-USE:
AP[2].SSID:wlan0-ap-2
AP[2].SSID:wlan0-ap-1
AP[2].MODE:Infra
AP[2].CHAN:1
AP[2].RATE:54 Mbit/s
AP[2].SIGNAL:61
AP[2].BARS:***
AP[2].SIGNAL:44
AP[2].BARS:**
AP[2].SECURITY:WPA1 WPA2
AP[3].IN-USE:
AP[3].SSID:wlan0-ap-1
AP[3].SSID:wlan0-ap-2
AP[3].MODE:Infra
AP[3].CHAN:1
AP[3].RATE:54 Mbit/s
AP[3].SIGNAL:29
AP[3].BARS:*
AP[3].SIGNAL:34
AP[3].BARS:**
AP[3].SECURITY:WPA1 WPA2
<<<

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:685:test_002()/12
location: clients/tests/test-client.py:688:test_002()/12
cmd: $NMCLI -f AP -mode multiline -t d show wlan0
lang: pl_PL.UTF-8
returncode: 0
@ -9,24 +9,24 @@ AP[1].SSID:wlan0-ap-3
AP[1].MODE:Infrastruktura
AP[1].CHAN:1
AP[1].RATE:54Mb/s
AP[1].SIGNAL:88
AP[1].BARS:****
AP[1].SIGNAL:55
AP[1].BARS:**
AP[1].SECURITY:WPA1 WPA2
AP[2].IN-USE:
AP[2].SSID:wlan0-ap-2
AP[2].SSID:wlan0-ap-1
AP[2].MODE:Infrastruktura
AP[2].CHAN:1
AP[2].RATE:54Mb/s
AP[2].SIGNAL:61
AP[2].BARS:***
AP[2].SIGNAL:44
AP[2].BARS:**
AP[2].SECURITY:WPA1 WPA2
AP[3].IN-USE:
AP[3].SSID:wlan0-ap-1
AP[3].SSID:wlan0-ap-2
AP[3].MODE:Infrastruktura
AP[3].CHAN:1
AP[3].RATE:54Mb/s
AP[3].SIGNAL:29
AP[3].BARS:*
AP[3].SIGNAL:34
AP[3].BARS:**
AP[3].SECURITY:WPA1 WPA2
<<<

View file

@ -1,13 +1,13 @@
location: clients/tests/test-client.py:686:test_002()/13
location: clients/tests/test-client.py:689:test_002()/13
cmd: $NMCLI -f AP -mode tabular d show wlan0
lang: C
returncode: 0
stdout: 304 bytes
>>>
NAME IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
AP[1] wlan0-ap-3 Infra 1 54 Mbit/s 88 **** WPA1 WPA2
AP[2] wlan0-ap-2 Infra 1 54 Mbit/s 61 *** WPA1 WPA2
AP[3] wlan0-ap-1 Infra 1 54 Mbit/s 29 * WPA1 WPA2
AP[1] wlan0-ap-3 Infra 1 54 Mbit/s 55 ** WPA1 WPA2
AP[2] wlan0-ap-1 Infra 1 54 Mbit/s 44 ** WPA1 WPA2
AP[3] wlan0-ap-2 Infra 1 54 Mbit/s 34 ** WPA1 WPA2
<<<
stderr: 0 bytes

View file

@ -1,13 +1,13 @@
location: clients/tests/test-client.py:686:test_002()/14
location: clients/tests/test-client.py:689:test_002()/14
cmd: $NMCLI -f AP -mode tabular d show wlan0
lang: pl_PL.UTF-8
returncode: 0
stdout: 338 bytes
>>>
NAME IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
AP[1] wlan0-ap-3 Infrastruktura 1 54Mb/s 88 **** WPA1 WPA2
AP[2] wlan0-ap-2 Infrastruktura 1 54Mb/s 61 *** WPA1 WPA2
AP[3] wlan0-ap-1 Infrastruktura 1 54Mb/s 29 * WPA1 WPA2
AP[1] wlan0-ap-3 Infrastruktura 1 54Mb/s 55 ** WPA1 WPA2
AP[2] wlan0-ap-1 Infrastruktura 1 54Mb/s 44 ** WPA1 WPA2
AP[3] wlan0-ap-2 Infrastruktura 1 54Mb/s 34 ** WPA1 WPA2
<<<
stderr: 0 bytes

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:687:test_002()/15
location: clients/tests/test-client.py:690:test_002()/15
cmd: $NMCLI -f AP -mode tabular -p d show wlan0
lang: C
returncode: 0
@ -9,9 +9,9 @@ stdout: 460 bytes
==========================
NAME IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
----------------------------------------------------------------------------
AP[1] wlan0-ap-3 Infra 1 54 Mbit/s 88 **** WPA1 WPA2
AP[2] wlan0-ap-2 Infra 1 54 Mbit/s 61 *** WPA1 WPA2
AP[3] wlan0-ap-1 Infra 1 54 Mbit/s 29 * WPA1 WPA2
AP[1] wlan0-ap-3 Infra 1 54 Mbit/s 55 ** WPA1 WPA2
AP[2] wlan0-ap-1 Infra 1 54 Mbit/s 44 ** WPA1 WPA2
AP[3] wlan0-ap-2 Infra 1 54 Mbit/s 34 ** WPA1 WPA2
<<<
stderr: 0 bytes

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:687:test_002()/16
location: clients/tests/test-client.py:690:test_002()/16
cmd: $NMCLI -f AP -mode tabular -p d show wlan0
lang: pl_PL.UTF-8
returncode: 0
@ -9,9 +9,9 @@ stdout: 530 bytes
===================================
NAME IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
-----------------------------------------------------------------------------------
AP[1] wlan0-ap-3 Infrastruktura 1 54Mb/s 88 **** WPA1 WPA2
AP[2] wlan0-ap-2 Infrastruktura 1 54Mb/s 61 *** WPA1 WPA2
AP[3] wlan0-ap-1 Infrastruktura 1 54Mb/s 29 * WPA1 WPA2
AP[1] wlan0-ap-3 Infrastruktura 1 54Mb/s 55 ** WPA1 WPA2
AP[2] wlan0-ap-1 Infrastruktura 1 54Mb/s 44 ** WPA1 WPA2
AP[3] wlan0-ap-2 Infrastruktura 1 54Mb/s 34 ** WPA1 WPA2
<<<
stderr: 0 bytes

View file

@ -1,12 +1,12 @@
location: clients/tests/test-client.py:688:test_002()/17
location: clients/tests/test-client.py:691:test_002()/17
cmd: $NMCLI -f AP -mode tabular -t d show wlan0
lang: C
returncode: 0
stdout: 165 bytes
>>>
AP[1]: :wlan0-ap-3:Infra:1:54 Mbit/s:88:****:WPA1 WPA2
AP[2]: :wlan0-ap-2:Infra:1:54 Mbit/s:61:*** :WPA1 WPA2
AP[3]: :wlan0-ap-1:Infra:1:54 Mbit/s:29:* :WPA1 WPA2
AP[1]: :wlan0-ap-3:Infra:1:54 Mbit/s:55:** :WPA1 WPA2
AP[2]: :wlan0-ap-1:Infra:1:54 Mbit/s:44:** :WPA1 WPA2
AP[3]: :wlan0-ap-2:Infra:1:54 Mbit/s:34:** :WPA1 WPA2
<<<
stderr: 0 bytes

View file

@ -1,12 +1,12 @@
location: clients/tests/test-client.py:688:test_002()/18
location: clients/tests/test-client.py:691:test_002()/18
cmd: $NMCLI -f AP -mode tabular -t d show wlan0
lang: pl_PL.UTF-8
returncode: 0
stdout: 192 bytes
>>>
AP[1]: :wlan0-ap-3:Infrastruktura:1:54Mb/s:88:****:WPA1 WPA2
AP[2]: :wlan0-ap-2:Infrastruktura:1:54Mb/s:61:*** :WPA1 WPA2
AP[3]: :wlan0-ap-1:Infrastruktura:1:54Mb/s:29:* :WPA1 WPA2
AP[1]: :wlan0-ap-3:Infrastruktura:1:54Mb/s:55:** :WPA1 WPA2
AP[2]: :wlan0-ap-1:Infrastruktura:1:54Mb/s:44:** :WPA1 WPA2
AP[3]: :wlan0-ap-2:Infrastruktura:1:54Mb/s:34:** :WPA1 WPA2
<<<
stderr: 0 bytes

View file

@ -1,16 +1,16 @@
location: clients/tests/test-client.py:690:test_002()/19
location: clients/tests/test-client.py:693:test_002()/19
cmd: $NMCLI -f ALL d wifi
lang: C
returncode: 0
stdout: 1840 bytes
>>>
NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA-FLAGS RSN-FLAGS DEVICE ACTIVE IN-USE DBUS-PATH
AP[1] wlan0-ap-3 776C616E302D61702D33 53:8C:FC:BD:7D:2B Infra 1 2412 MHz 54 Mbit/s 88 **** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 no /org/freedesktop/NetworkManager/AccessPoint/3
AP[2] wlan0-ap-2 776C616E302D61702D32 A1:A2:78:A7:C5:D5 Infra 1 2412 MHz 54 Mbit/s 61 *** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 no /org/freedesktop/NetworkManager/AccessPoint/2
AP[3] wlan0-ap-1 776C616E302D61702D31 81:28:C5:C2:E5:15 Infra 1 2412 MHz 54 Mbit/s 29 * WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 no /org/freedesktop/NetworkManager/AccessPoint/1
AP[1] wlan0-ap-3 776C616E302D61702D33 60:B3:25:25:E2:C8 Infra 1 2412 MHz 54 Mbit/s 55 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 no /org/freedesktop/NetworkManager/AccessPoint/3
AP[2] wlan0-ap-1 776C616E302D61702D31 90:B1:5F:9E:E0:E3 Infra 1 2412 MHz 54 Mbit/s 44 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 no /org/freedesktop/NetworkManager/AccessPoint/1
AP[3] wlan0-ap-2 776C616E302D61702D32 61:66:D2:E7:44:A2 Infra 1 2412 MHz 54 Mbit/s 34 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 no /org/freedesktop/NetworkManager/AccessPoint/2
NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA-FLAGS RSN-FLAGS DEVICE ACTIVE IN-USE DBUS-PATH
AP[1] wlan1-ap-4 776C616E312D61702D34 EA:62:1C:BD:C0:8F Infra 1 2412 MHz 54 Mbit/s 34 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan1 no /org/freedesktop/NetworkManager/AccessPoint/4
AP[1] wlan1-ap-4 776C616E312D61702D34 EE:52:8B:49:A1:96 Infra 1 2412 MHz 54 Mbit/s 38 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan1 no /org/freedesktop/NetworkManager/AccessPoint/4
NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA-FLAGS RSN-FLAGS DEVICE ACTIVE IN-USE DBUS-PATH

View file

@ -1,16 +1,16 @@
location: clients/tests/test-client.py:690:test_002()/20
location: clients/tests/test-client.py:693:test_002()/20
cmd: $NMCLI -f ALL d wifi
lang: pl_PL.UTF-8
returncode: 0
stdout: 1898 bytes
>>>
NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA-FLAGS RSN-FLAGS DEVICE ACTIVE IN-USE DBUS-PATH
AP[1] wlan0-ap-3 776C616E302D61702D33 53:8C:FC:BD:7D:2B Infrastruktura 1 2412MHz 54Mb/s 88 **** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 nie /org/freedesktop/NetworkManager/AccessPoint/3
AP[2] wlan0-ap-2 776C616E302D61702D32 A1:A2:78:A7:C5:D5 Infrastruktura 1 2412MHz 54Mb/s 61 *** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 nie /org/freedesktop/NetworkManager/AccessPoint/2
AP[3] wlan0-ap-1 776C616E302D61702D31 81:28:C5:C2:E5:15 Infrastruktura 1 2412MHz 54Mb/s 29 * WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 nie /org/freedesktop/NetworkManager/AccessPoint/1
AP[1] wlan0-ap-3 776C616E302D61702D33 60:B3:25:25:E2:C8 Infrastruktura 1 2412MHz 54Mb/s 55 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 nie /org/freedesktop/NetworkManager/AccessPoint/3
AP[2] wlan0-ap-1 776C616E302D61702D31 90:B1:5F:9E:E0:E3 Infrastruktura 1 2412MHz 54Mb/s 44 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 nie /org/freedesktop/NetworkManager/AccessPoint/1
AP[3] wlan0-ap-2 776C616E302D61702D32 61:66:D2:E7:44:A2 Infrastruktura 1 2412MHz 54Mb/s 34 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan0 nie /org/freedesktop/NetworkManager/AccessPoint/2
NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA-FLAGS RSN-FLAGS DEVICE ACTIVE IN-USE DBUS-PATH
AP[1] wlan1-ap-4 776C616E312D61702D34 EA:62:1C:BD:C0:8F Infrastruktura 1 2412MHz 54Mb/s 34 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan1 nie /org/freedesktop/NetworkManager/AccessPoint/4
AP[1] wlan1-ap-4 776C616E312D61702D34 EE:52:8B:49:A1:96 Infrastruktura 1 2412MHz 54Mb/s 38 ** WPA1 WPA2 pair_tkip pair_ccmp group_tkip group_ccmp psk pair_tkip pair_ccmp group_tkip group_ccmp psk wlan1 nie /org/freedesktop/NetworkManager/AccessPoint/4
NAME SSID SSID-HEX BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY WPA-FLAGS RSN-FLAGS DEVICE ACTIVE IN-USE DBUS-PATH

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:692:test_002()/21
location: clients/tests/test-client.py:695:test_002()/21
cmd: $NMCLI c
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:692:test_002()/22
location: clients/tests/test-client.py:695:test_002()/22
cmd: $NMCLI c
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:694:test_002()/23
location: clients/tests/test-client.py:697:test_002()/23
cmd: $NMCLI c s con-1
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:694:test_002()/24
location: clients/tests/test-client.py:697:test_002()/24
cmd: $NMCLI c s con-1
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:704:test_003()/1
location: clients/tests/test-client.py:707:test_003()/1
cmd: $NMCLI c add type ethernet ifname '*' con-name con-xx1
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:707:test_003()/2
location: clients/tests/test-client.py:710:test_003()/2
cmd: $NMCLI c s
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:707:test_003()/3
location: clients/tests/test-client.py:710:test_003()/3
cmd: $NMCLI c s
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:712:test_003()/4
location: clients/tests/test-client.py:715:test_003()/4
cmd: $NMCLI c add type ethernet ifname '*'
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:715:test_003()/5
location: clients/tests/test-client.py:718:test_003()/5
cmd: $NMCLI c s
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:715:test_003()/6
location: clients/tests/test-client.py:718:test_003()/6
cmd: $NMCLI c s
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:718:test_003()/7
location: clients/tests/test-client.py:721:test_003()/7
cmd: $NMCLI -f ALL c s
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:718:test_003()/8
location: clients/tests/test-client.py:721:test_003()/8
cmd: $NMCLI -f ALL c s
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:722:test_003()/9
location: clients/tests/test-client.py:725:test_003()/9
cmd: $NMCLI --complete-args -f ALL c s ''
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:722:test_003()/10
location: clients/tests/test-client.py:725:test_003()/10
cmd: $NMCLI --complete-args -f ALL c s ''
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:735:test_003()/11
location: clients/tests/test-client.py:738:test_003()/11
cmd: $NMCLI con up ethernet ifname eth0
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:738:test_003()/12
location: clients/tests/test-client.py:741:test_003()/12
cmd: $NMCLI con
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:738:test_003()/13
location: clients/tests/test-client.py:741:test_003()/13
cmd: $NMCLI con
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:741:test_003()/14
location: clients/tests/test-client.py:744:test_003()/14
cmd: $NMCLI -f ALL con
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:741:test_003()/15
location: clients/tests/test-client.py:744:test_003()/15
cmd: $NMCLI -f ALL con
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:744:test_003()/16
location: clients/tests/test-client.py:747:test_003()/16
cmd: $NMCLI -f ALL con s -a
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:744:test_003()/17
location: clients/tests/test-client.py:747:test_003()/17
cmd: $NMCLI -f ALL con s -a
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:747:test_003()/18
location: clients/tests/test-client.py:750:test_003()/18
cmd: $NMCLI -f ACTIVE-PATH,DEVICE,UUID con s -act
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:747:test_003()/19
location: clients/tests/test-client.py:750:test_003()/19
cmd: $NMCLI -f ACTIVE-PATH,DEVICE,UUID con s -act
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:750:test_003()/20
location: clients/tests/test-client.py:753:test_003()/20
cmd: $NMCLI -f UUID,NAME con s --active
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:750:test_003()/21
location: clients/tests/test-client.py:753:test_003()/21
cmd: $NMCLI -f UUID,NAME con s --active
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:753:test_003()/22
location: clients/tests/test-client.py:756:test_003()/22
cmd: $NMCLI -f ALL con s ethernet
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:753:test_003()/23
location: clients/tests/test-client.py:756:test_003()/23
cmd: $NMCLI -f ALL con s ethernet
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:756:test_003()/24
location: clients/tests/test-client.py:759:test_003()/24
cmd: $NMCLI -f GENERAL.STATE con s ethernet
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:756:test_003()/25
location: clients/tests/test-client.py:759:test_003()/25
cmd: $NMCLI -f GENERAL.STATE con s ethernet
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:759:test_003()/26
location: clients/tests/test-client.py:762:test_003()/26
cmd: $NMCLI con s ethernet
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:759:test_003()/27
location: clients/tests/test-client.py:762:test_003()/27
cmd: $NMCLI con s ethernet
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:762:test_003()/28
location: clients/tests/test-client.py:765:test_003()/28
cmd: $NMCLI -f ALL dev s eth0
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:762:test_003()/29
location: clients/tests/test-client.py:765:test_003()/29
cmd: $NMCLI -f ALL dev s eth0
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:765:test_003()/30
location: clients/tests/test-client.py:768:test_003()/30
cmd: $NMCLI -f ALL dev show eth0
lang: C
returncode: 0
@ -12,7 +12,7 @@ GENERAL.PRODUCT: --
GENERAL.DRIVER: virtual
GENERAL.DRIVER-VERSION: --
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR: 72:41:AB:90:41:5D
GENERAL.HWADDR: C0:61:AE:26:4D:D7
GENERAL.MTU: 0
GENERAL.STATE: 20 (unavailable)
GENERAL.REASON: 0 (No reason given)

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:765:test_003()/31
location: clients/tests/test-client.py:768:test_003()/31
cmd: $NMCLI -f ALL dev show eth0
lang: pl_PL.UTF-8
returncode: 0
@ -12,7 +12,7 @@ GENERAL.PRODUCT: --
GENERAL.DRIVER: virtual
GENERAL.DRIVER-VERSION: --
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR: 72:41:AB:90:41:5D
GENERAL.HWADDR: C0:61:AE:26:4D:D7
GENERAL.MTU: 0
GENERAL.STATE: 20 (niedostępne)
GENERAL.REASON: 0 (Nie podano przyczyny)

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:735:test_003()/32
location: clients/tests/test-client.py:738:test_003()/32
cmd: $NMCLI con up ethernet ifname eth1
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:738:test_003()/33
location: clients/tests/test-client.py:741:test_003()/33
cmd: $NMCLI con
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:738:test_003()/34
location: clients/tests/test-client.py:741:test_003()/34
cmd: $NMCLI con
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:741:test_003()/35
location: clients/tests/test-client.py:744:test_003()/35
cmd: $NMCLI -f ALL con
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:741:test_003()/36
location: clients/tests/test-client.py:744:test_003()/36
cmd: $NMCLI -f ALL con
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:744:test_003()/37
location: clients/tests/test-client.py:747:test_003()/37
cmd: $NMCLI -f ALL con s -a
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:744:test_003()/38
location: clients/tests/test-client.py:747:test_003()/38
cmd: $NMCLI -f ALL con s -a
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:747:test_003()/39
location: clients/tests/test-client.py:750:test_003()/39
cmd: $NMCLI -f ACTIVE-PATH,DEVICE,UUID con s -act
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:747:test_003()/40
location: clients/tests/test-client.py:750:test_003()/40
cmd: $NMCLI -f ACTIVE-PATH,DEVICE,UUID con s -act
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:750:test_003()/41
location: clients/tests/test-client.py:753:test_003()/41
cmd: $NMCLI -f UUID,NAME con s --active
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:750:test_003()/42
location: clients/tests/test-client.py:753:test_003()/42
cmd: $NMCLI -f UUID,NAME con s --active
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:753:test_003()/43
location: clients/tests/test-client.py:756:test_003()/43
cmd: $NMCLI -f ALL con s ethernet
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:753:test_003()/44
location: clients/tests/test-client.py:756:test_003()/44
cmd: $NMCLI -f ALL con s ethernet
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:756:test_003()/45
location: clients/tests/test-client.py:759:test_003()/45
cmd: $NMCLI -f GENERAL.STATE con s ethernet
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:756:test_003()/46
location: clients/tests/test-client.py:759:test_003()/46
cmd: $NMCLI -f GENERAL.STATE con s ethernet
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:759:test_003()/47
location: clients/tests/test-client.py:762:test_003()/47
cmd: $NMCLI con s ethernet
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:759:test_003()/48
location: clients/tests/test-client.py:762:test_003()/48
cmd: $NMCLI con s ethernet
lang: pl_PL.UTF-8
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:762:test_003()/49
location: clients/tests/test-client.py:765:test_003()/49
cmd: $NMCLI -f ALL dev s eth0
lang: C
returncode: 0

View file

@ -1,4 +1,4 @@
location: clients/tests/test-client.py:762:test_003()/50
location: clients/tests/test-client.py:765:test_003()/50
cmd: $NMCLI -f ALL dev s eth0
lang: pl_PL.UTF-8
returncode: 0

Some files were not shown because too many files have changed in this diff Show more