mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 09:00:08 +01:00
ifnet: add testcase for # in passphrase (bgo #670381)
This commit is contained in:
parent
3feb769efa
commit
750cb8bb89
2 changed files with 10 additions and 0 deletions
|
|
@ -238,6 +238,9 @@ test_wpa_parser ()
|
|||
"wep_key0 of static-wep-test should be abcde, find %s", value);
|
||||
ASSERT (exist_ssid ("leap-example"), "get wsec",
|
||||
"ssid leap-example is not found");
|
||||
|
||||
value = wpa_get_value ("test-with-hash-in-psk", "psk");
|
||||
g_assert_cmpstr (value, ==, "\"xjtudlc3731###asdfasdfasdf\"");
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -863,3 +863,10 @@ network={
|
|||
phase2="auth=CHAP"
|
||||
priority=20
|
||||
}
|
||||
|
||||
network={
|
||||
ssid="test-with-hash-in-psk"
|
||||
key_mgmt=WPA-PSK
|
||||
psk="xjtudlc3731###asdfasdfasdf"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue