Skip to content

Commit

Permalink
Merge pull request #38 from balena-io-experimental/kyle/permission-de…
Browse files Browse the repository at this point in the history
…nied

Avoid permission denied when writing to test files created by root
  • Loading branch information
flowzone-app[bot] authored Nov 16, 2023
2 parents b84a544 + 9977c92 commit 3633da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ echo "Testing stderr" >&2
echo "Testing stdout" >/dev/stdout
echo "Testing stderr" >/dev/stderr

echo "Testing stdout" 1> >(tee /tmp/stdout)
echo "Testing stderr" 2> >(tee /tmp/stderr)
echo "Testing stdout" 1> >(tee "$HOME"/stdout)
echo "Testing stderr" 2> >(tee "$HOME"/stderr)

if [ -n "${HOSTNAME}" ]; then
test "${HOSTNAME}" = "$(hostname)"
Expand Down

0 comments on commit 3633da7

Please sign in to comment.