ifnet: add testcase for # in passphrase (bgo #670381)

This commit is contained in:
Dan Williams
2012-02-25 20:33:00 -06:00
parent 3feb769efa
commit 750cb8bb89
2 changed files with 10 additions and 0 deletions

View File

@@ -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

View File

@@ -863,3 +863,10 @@ network={
phase2="auth=CHAP"
priority=20
}
network={
ssid="test-with-hash-in-psk"
key_mgmt=WPA-PSK
psk="xjtudlc3731###asdfasdfasdf"
}