Tests: Make RunCMake.CMP0125 robust to external filesystem content
Revise the test from !6110 (merged) to avoid searching outside the test directories.
Fixes: #23299 (closed)
Backport: release
Edited by Brad King
Revise the test from !6110 (merged) to avoid searching outside the test directories.
Fixes: #23299 (closed)
Backport: release