2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-04 18:00:24 +00:00
bat/tests/syntax-tests
Martin Nordholts 60e00d49a9
Fix #1443 macOS: regression_test.sh: mktemp: illegal option (#1444)
The macOS version of mktemp does not recognize the --suffix option.
Using pure -d should work since, it seems [1], macOS 10.11 however.

So to make the script work on macOS, stop using the --suffix option.

The downside is of course that the temporary dir will have an anonymous
name, but I see no risk of confusion given how short-lived the usage of
the dir is, and given the context it is used.

[1] https://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x
2020-12-21 08:16:49 +01:00
..
highlighted add new syntax test files 2020-11-23 15:43:58 +01:00
source add new syntax test files 2020-11-23 15:43:58 +01:00
compare_highlighted_versions.py Add comparison script 2020-08-03 15:59:53 +02:00
create_highlighted_versions.py feat: include dotfiles (.) in create_highlighted_versions.py search 2020-10-17 17:40:51 +02:00
regression_test.sh Fix #1443 macOS: regression_test.sh: mktemp: illegal option (#1444) 2020-12-21 08:16:49 +01:00
update.sh Add change dir to script dir to allow running from project root dir 2020-10-04 19:35:32 +02:00