Changes check_service_status function to expand argument before testing contents
Changes check_service_status function to expand argument before testing contents

iXsystems/ix-tests,iXsystems/ix-tests,iXsystems/ixbuild