Verified Commit 821d0a92 authored by Petr Špaček's avatar Petr Špaček

Mac OS: remove readlink calls

Supposedly Mac OS's readlink does not have -f argument and this broke
all scripts using it. After all it seems unnecessary, so I just removed
it. Let's see what will break.
parent 945ffb6e
#!/bin/bash
set -o nounset -o xtrace -o errexit
source "$(dirname "$(readlink -f "$0")")/common.sh"
source "$(dirname "$0")/common.sh"
git diff "${MERGEBASE}..${HEAD}" | ${PYTHON} -m pep8 --ignore=W503 --diff --show-source --max-line-length=100 && echo "OK, no PEP8 errors detected"
#!/bin/bash
set -o nounset -o xtrace -o errexit
source "$(dirname "$(readlink -f "$0")")/common.sh"
source "$(dirname "$0")/common.sh"
PYFILES=$(find . \
-path ./.git -prune -o \
......
#!/bin/bash
set -o nounset -o xtrace -o errexit
source "$(dirname "$(readlink -f "$0")")/common.sh"
source "$(dirname "$0")/common.sh"
TESTRUNNER="$1"
: comparing results from test script "${TESTRUNNER}"
......
#!/bin/bash
set -o nounset -o errexit
CIDIR="$(dirname "$(readlink -f "$0")")"
CIDIR="$(dirname "$0")"
ORIGNAME="$(git symbolic-ref -q --short HEAD || git describe --all --always HEAD)"
FAILURE_DETECTED="?"
......
......@@ -76,5 +76,5 @@ ADDITIONAL=${ADDITIONAL:-"-C getdns.conf"}
export TESTS DAEMON TEMPLATE CONFIG ADDITIONAL
MAKEDIR="$(dirname "$(readlink -f "$0")")"
MAKEDIR="$(dirname "$0")"
make -C "${MAKEDIR}"
......@@ -20,5 +20,5 @@ ADDITIONAL=${ADDITIONAL:-"-c ./knotd.conf"}
export TESTS DAEMON TEMPLATE CONFIG ADDITIONAL
echo 'INFO: Tests require Knot compiled with ./configure --enable-recvmmsg=no'
MAKEDIR="$(dirname "$(readlink -f "$0")")"
MAKEDIR="$(dirname "$0")"
make -C "${MAKEDIR}"
......@@ -20,5 +20,5 @@ ADDITIONAL=${ADDITIONAL:-"-c ./knotd.conf"}
export TESTS DAEMON TEMPLATE CONFIG ADDITIONAL
echo 'INFO: Tests require Knot compiled with ./configure --enable-recvmmsg=no'
MAKEDIR="$(dirname "$(readlink -f "$0")")"
MAKEDIR="$(dirname "$0")"
make -C "${MAKEDIR}"
......@@ -18,5 +18,5 @@ ADDITIONAL=${ADDITIONAL:-"-f 1"}
export TESTS DAEMON TEMPLATE CONFIG ADDITIONAL
MAKEDIR="$(dirname "$(readlink -f "$0")")"
MAKEDIR="$(dirname "$0")"
make -C "${MAKEDIR}"
......@@ -22,5 +22,5 @@ IGNORE_EXIT_CODE=1
export TESTS DAEMON TEMPLATE CONFIG ADDITIONAL IGNORE_EXIT_CODE
MAKEDIR="$(dirname "$(readlink -f "$0")")"
MAKEDIR="$(dirname "$0")"
make -C "${MAKEDIR}"
......@@ -19,5 +19,5 @@ ADDITIONAL=${ADDITIONAL:-"-d -c unbound.conf"}
export TESTS DAEMON TEMPLATE CONFIG ADDITIONAL
MAKEDIR="$(dirname "$(readlink -f "$0")")"
MAKEDIR="$(dirname "$0")"
make -C "${MAKEDIR}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment