The "test-simplify-name" command:

Usage: fossil test-simplify-name FILENAME...

Print the simplified versions of each FILENAME.