summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-17 12:24:58 +0200
committerGitHub <noreply@github.com>2020-08-17 12:24:58 +0200
commit47108e2e093bae318773998a18f83d0504a402e0 (patch)
tree30b4052dc8b72c65d6407300685855f64e56015e /test/system
parent1db18bf10775cf0502d7e9be4946d1d29a6d8e06 (diff)
parentba9f18e2b87a1dc6b9f7fea304379c4e41aaaa85 (diff)
downloadpodman-47108e2e093bae318773998a18f83d0504a402e0.tar.gz
podman-47108e2e093bae318773998a18f83d0504a402e0.tar.bz2
podman-47108e2e093bae318773998a18f83d0504a402e0.zip
Merge pull request #7333 from openSUSE/bashify
Use `bash` binary from env instead of /bin/bash for scripts
Diffstat (limited to 'test/system')
-rw-r--r--test/system/400-unprivileged-access.bats2
-rwxr-xr-xtest/system/helpers.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/system/400-unprivileged-access.bats b/test/system/400-unprivileged-access.bats
index 1b2d14554..142d7dcd9 100644
--- a/test/system/400-unprivileged-access.bats
+++ b/test/system/400-unprivileged-access.bats
@@ -23,7 +23,7 @@ load helpers
# as a user, the parent directory must be world-readable.
test_script=$PODMAN_TMPDIR/fail-if-writable
cat >$test_script <<"EOF"
-#!/bin/bash
+#!/usr/bin/env bash
path="$1"
diff --git a/test/system/helpers.t b/test/system/helpers.t
index bee09505c..7a331174b 100755
--- a/test/system/helpers.t
+++ b/test/system/helpers.t
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# regression tests for helpers.bash
#