2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-04 18:00:24 +00:00
bat/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
..
benchmarks Add change dir to script dir to allow running from project root dir 2020-10-04 19:35:32 +02:00
examples Revert "Add cycle detection integration tests" 2020-11-24 21:40:11 +01:00
scripts Add a way to directly search for a pattern 2020-04-12 19:19:33 +02:00
snapshots style: add component 'rule' for horizontal file delimiter 2020-10-12 09:04:27 +01:00
syntax-tests Fix #1443 macOS: regression_test.sh: mktemp: illegal option (#1444) 2020-12-21 08:16:49 +01:00
.gitattributes Remove gitattributes for .bat/.cmd files to make all testfiles eol=lf 2020-10-09 23:28:08 +02:00
assets.rs Ignore 'all_themes_are_present' unit test by default 2020-10-25 08:18:55 +01:00
integration_tests.rs Revert "Add cycle detection integration tests" 2020-11-24 21:40:11 +01:00
no_duplicate_extensions.rs Code formatting 2020-09-20 20:47:21 +02:00
snapshot_tests.rs style: add component 'rule' for horizontal file delimiter 2020-10-12 09:04:27 +01:00
tester.rs Strip dependencies of bat-as-a-library 2020-03-31 09:27:56 +02:00