[OS-BUILD PATCHv3 15/17] redhat/self-test: Add test to verify SPEC variables