flimflam-test: Add script to clean up profiles
We have profile related test in wifi autotest:
network_WiFiManager/091_ProfileProperties
network_WiFiManager/092_ProfileCredentials
network_WiFiManager/093_ProfilePopPush
network_WiFiManager/094_ProfileDelete
Sometimes the test die and leaves the profile stack in a weird state.
Add this script to clean up profiles until 'default' profile is found.
BUG=chromium-os:35374
TEST=/user/local/lib/flimflam/test/create-profile test1
/user/local/lib/flimflam/test/create-profile test2
/user/local/lib/flimflam/test/push-profile test1
/user/local/lib/flimflam/test/push-profile test2
/user/local/lib/flimflam/test/clean-profiles
Change-Id: If7816f848b688e77808045b078c7e3ccf7795f3e
Reviewed-on: https://gerrit.chromium.org/gerrit/42717
Commit-Queue: Bowgo Tsai <bowgotsai@chromium.org>
Tested-by: Bowgo Tsai <bowgotsai@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
1 file changed