test: add `test-repo` requirement to `test-check-format` (issue6395)
Kindly reported by Tristan Seligmann <mithrandi@mithrandi.net>
#!/usr/bin/env pythonfrom__future__importabsolute_import,print_functionimporterrnoimportosimportsysforfinsys.argv[1:]:try:print(f,'->',os.readlink(f))exceptOSErroraserr:iferr.errno!=errno.EINVAL:raiseprint(f,'->',f,'not a symlink')sys.exit(0)