From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=Switching to non-existing profile |actions= We will test if setting non-existing profile is handled in reasonable way # Switch to profile name you ...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|actions=
|actions=
We will test if setting non-existing profile is handled in reasonable way
We will test if setting non-existing profile is handled in reasonable way
# Switch to profile name you made up
# Switch to profile name you made up. Be creative and try to break it ;)
#:<pre>
#:<pre>
#::update-crypto-policies --set ABSOLUTELYMADEUPCRAZYNAME</pre>
#::update-crypto-policies --set ABSOLUTELYMADEUPCRAZYNAME</pre>
# Test that you can still connect to real world
# Test that you can still connect to real world
#:<pre>
#:<pre>
#::curl https://google.com</pre>
#::curl -sL https://google.com >/dev/null || echo FAIL</pre>
|results=
|results=
# TODO
# Unknown profile: ...
# connection does not fail
}}
}}

Latest revision as of 19:23, 29 March 2017

Description

Switching to non-existing profile


How to test

We will test if setting non-existing profile is handled in reasonable way

  1. Switch to profile name you made up. Be creative and try to break it ;)
    update-crypto-policies --set ABSOLUTELYMADEUPCRAZYNAME
  2. Test that you can still connect to real world
    curl -sL https://google.com >/dev/null || echo FAIL

Expected Results

  1. Unknown profile: ...
  2. connection does not fail