mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 11:11:43 +08:00

This test wants to generate a U+FDD2 to see it is not mishandled. To do so, we tried to use sh, which on my system is bash and can do `$'\ufdd2'`. Unfortunately on other systems it might be dash, which won't do that. Since I don't know of a good no-dependency portable way to generate this (I dimly remember python3 being a shim on some systems, so I do not want to invoke it here), we'll just use our own printf. Which is a worse test, we control both parts, but it'll do. Fixes #10134