Skip to content

Commit

Permalink
Add tests to check expansion of credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
federicaagostini committed Apr 26, 2024
1 parent 1f32730 commit 483298a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/clients/init/tests.robot
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ See if voms-proxy-init connect timeout works
Should Be True ${time} < 8
[Teardown] Stop using certificate

See if voms does not allow expansion of credential set
See if voms does not allow expansion of credential set from an AC
[Tags] remote legacy issue-726
[Setup] Use certificate test0
Create proxy -voms ${vo1}
Expand All @@ -320,6 +320,16 @@ See if voms does not allow expansion of credential set
Should Not Contain ${output} ${voms_role}
[Teardown] Stop using certificate

See if voms does not allow expansion of credential set from a proxy
[Tags] remote legacy
[Setup] Use certificate test0
Create proxy
${voms_role}= Set Variable If ${vo1_legacy_fqan_enabled} == True /${vo1}/G1/Role=R1 /${vo1}/G1/R1
Create proxy -voms ${vo1}:${voms_role} --valid 10:00 --noregen
${output} Get proxy info -all
Should Not Contain ${output} ${voms_role}
[Teardown] Stop using certificate

See if voms-proxy-init --debug works
[Tags] remote legacy
[Setup] Use certificate test0
Expand Down

0 comments on commit 483298a

Please sign in to comment.