ifnet: add testcase for # in passphrase (bgo #670381)
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user