summaryrefslogtreecommitdiffstats
path: root/tests/ts/md5/md5
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/md5/md5')
-rwxr-xr-xtests/ts/md5/md52
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/md5/md5 b/tests/ts/md5/md5
index e94fb6360..6fe3f147e 100755
--- a/tests/ts/md5/md5
+++ b/tests/ts/md5/md5
@@ -15,7 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
. $TS_TOPDIR/functions.sh
ts_init "$*"