-#!/bin/sh
+#!/bin/bash
#
# Copyright (C) 2015 - Antoine Busque <abusque@efficios.com>
#
NO_SH_TAP=1
. "@abs_top_builddir@/tests/utils/common.sh"
-script="$(readlink -f "$0")"
-curdir="$(dirname "$script")"
+curdir="$(cd -P "$(dirname "$0")" >/dev/null && pwd)"
debug_info_data="${BT_SRC_PATH}/tests/debug-info-data"