Does the result of an HIV test tell you your risk of becoming infected with HIV?

Does the result of an HIV test tell you your risk of becoming infected with HIV? Explain your answer.