Keeping calm is the secret of passing your test.
A.As long as you (can) keep (stay) calm, you will pass your test.
B.As long as you keeping (stay) calm, you will pass your test.
C.As long as you (can) keep (stay) calm, you would pass your test.
D.As long as you (can) kept (stay) calm, you will pass your test.