1 # Test that redo can handle a script whose path contains non-ASCII characters.
2 # Note: the test directory is intentionally *not* a normalized unicode
3 # string, ie. filesystems like macOS will convert it to a different string
4 # at creation time. This tests weird normalization edge cases.
6 # Unfortunately, on macOS with APFS, it may helpfully normalize the path at
7 # *create* time, but not on future *open* attempts. Thus, we let the shell
8 # figure out what directory name actually got created, then pass that to redo.
9 # Hence the weird wildcard expansion loop.
11 mkdir "test-uniçøðë.tmp"
12 for p in test-uni*.tmp; do