summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-10-17 18:14:58 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-10-18 09:04:45 +0200
commitd632e6fe3bbc9c4f0a56c5d458e8bd3a9805b2e2 (patch)
tree538702cbdf609f220e28e603dfbaaabdb55e0a9b /test
parenttests: add spdx headers to scripts and Makefiles (diff)
downloadsystemd-d632e6fe3bbc9c4f0a56c5d458e8bd3a9805b2e2.tar.xz
systemd-d632e6fe3bbc9c4f0a56c5d458e8bd3a9805b2e2.zip
tests: use !/usr/bin/env bash consistently
This adjustment was last done in f96bc66901ecbcf7ecb280d9442fd0cc92e67186, but it seems some files were missed and some were added later.
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-38-FREEZER/test.sh2
-rwxr-xr-xtest/TEST-52-HONORFIRSTSHUTDOWN/test.sh2
-rwxr-xr-xtest/units/testsuite-15.sh2
-rwxr-xr-xtest/units/testsuite-22.11.sh2
-rwxr-xr-xtest/units/testsuite-22.12.sh2
-rwxr-xr-xtest/units/testsuite-52.sh2
6 files changed, 6 insertions, 6 deletions
diff --git a/test/TEST-38-FREEZER/test.sh b/test/TEST-38-FREEZER/test.sh
index e78fae2c74..da7bfc64f3 100755
--- a/test/TEST-38-FREEZER/test.sh
+++ b/test/TEST-38-FREEZER/test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
diff --git a/test/TEST-52-HONORFIRSTSHUTDOWN/test.sh b/test/TEST-52-HONORFIRSTSHUTDOWN/test.sh
index a9d96c48e9..936e801c51 100755
--- a/test/TEST-52-HONORFIRSTSHUTDOWN/test.sh
+++ b/test/TEST-52-HONORFIRSTSHUTDOWN/test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
diff --git a/test/units/testsuite-15.sh b/test/units/testsuite-15.sh
index e4bb222c67..56ac1f774f 100755
--- a/test/units/testsuite-15.sh
+++ b/test/units/testsuite-15.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
diff --git a/test/units/testsuite-22.11.sh b/test/units/testsuite-22.11.sh
index 508f90c9f5..f71a95f4f3 100755
--- a/test/units/testsuite-22.11.sh
+++ b/test/units/testsuite-22.11.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
set -x
diff --git a/test/units/testsuite-22.12.sh b/test/units/testsuite-22.12.sh
index 660e8146bc..b8c4da8381 100755
--- a/test/units/testsuite-22.12.sh
+++ b/test/units/testsuite-22.12.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Test the "Age" parameter (with age-by) for systemd-tmpfiles.
diff --git a/test/units/testsuite-52.sh b/test/units/testsuite-52.sh
index 68c73f5a99..8a76ff6ed6 100755
--- a/test/units/testsuite-52.sh
+++ b/test/units/testsuite-52.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -ex
set -o pipefail