summaryrefslogtreecommitdiff
path: root/tests/convert-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/convert-tests.sh')
-rw-r--r--tests/convert-tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/convert-tests.sh b/tests/convert-tests.sh
index 7976f662..9234c7ba 100644
--- a/tests/convert-tests.sh
+++ b/tests/convert-tests.sh
@@ -7,8 +7,8 @@
unset TOP
unset LANG
LANG=C
-SCRIPT_DIR=$(dirname $(realpath $0))
-TOP=$(realpath $SCRIPT_DIR/../)
+SCRIPT_DIR=$(dirname $(readlink -f $0))
+TOP=$(readlink -f $SCRIPT_DIR/../)
TEST_MNT=${TEST_MNT:-$TOP/tests/mnt}
RESULTS="$TOP/tests/convert-tests-results.txt"
IMAGE="$TOP/tests/test.img"