aboutsummaryrefslogtreecommitdiff
path: root/show-expected-fail-tests.sh
diff options
context:
space:
mode:
authorDov Alperin <DAlperin@users.noreply.github.com>2022-09-27 04:42:08 -0400
committerGitHub <noreply@github.com>2022-09-27 09:42:08 +0100
commitb5bfff47d296e704fbeb33c5b57829609bed0426 (patch)
treed76a101f3d1ff27f272f1ae744c0ae753a809d3f /show-expected-fail-tests.sh
parent12649ccedd858cbe075271ea234b1e268f973c5a (diff)
Use /usr/bin/env bash in shebangs to make them universal (#2735)
Some systems (like nixos) don't have bash living at `/bin/bash` so using `/usr/bin/env bash` we can make these scripts universal. ### Pull Request Checklist <!-- Please read docs/CONTRIBUTING.md before submitting your pull request --> * [X] I have added added tests for PR _or_ I have justified why this PR doesn't need tests. * [x] Pull request includes a [sign off](https://github.com/matrix-org/dendrite/blob/main/docs/CONTRIBUTING.md#sign-off) Signed-off-by: `Dov Alperin <git@dov.dev>` Signed-off-by: `Dov Alperin <git@dov.dev>`
Diffstat (limited to 'show-expected-fail-tests.sh')
-rwxr-xr-xshow-expected-fail-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/show-expected-fail-tests.sh b/show-expected-fail-tests.sh
index 3ed937a0..b7af8f64 100755
--- a/show-expected-fail-tests.sh
+++ b/show-expected-fail-tests.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/usr/bin/env bash
#
# Parses a results.tap file from SyTest output and a file containing test names (a test whitelist)
# and checks whether a test name that exists in the whitelist (that should pass), failed or not.