Repository: sharkdp/bat (language: rust)

Issue:
macOS: regression_test.sh: mktemp: illegal option --suffix=.bat-syntax-regression-test
When working on tests pertaining to #1438 I bumped into a minor annoyance. (That seems easy to fix if we are a bit pragmatic; more info in soon-to-be-created MR.)

**Step-by-step:**
1. Use macOS Catalina 10.15.7 ([rumor](https://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x) has it that any version back to and including macOS 10.11 should also work)
2. Setup a `bat` development environment from `git`
3. Run `cargo install --locked --path . --force && bash assets/create.sh && cargo install --locked --path . --force && cargo test --release && cargo test --release -- --ignored && tests/syntax-tests/regression_test.sh` to simulate `Test with new syntaxes and themes` from `CICD.yml`

**Actual:**
```
% [...] tests/syntax-tests/regression_test.sh 
mktemp: illegal option -- -
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
```

**Expected:**
No issues



Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8cabba21ad..a245131c64 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
 ## Bugfixes
 
 - only print themes hint in interactive mode (`bat --list-themes`), see #1439 (@rsteube)
+- Make ./tests/syntax-tests/regression_test.sh work on recent versions of macOS, see #1443 (@Enselic)
 
 ## Other
 


Test patch:
diff --git a/tests/syntax-tests/regression_test.sh b/tests/syntax-tests/regression_test.sh
index 25acb256a9..45e2e3eaa2 100755
--- a/tests/syntax-tests/regression_test.sh
+++ b/tests/syntax-tests/regression_test.sh
@@ -4,7 +4,7 @@ set -eou pipefail
 
 script_directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 
-output_directory=$(mktemp -d --suffix=.bat-syntax-regression-test)
+output_directory=$(mktemp -d)
 
 "$script_directory"/create_highlighted_versions.py --output="$output_directory"