summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/align-512-512-topology
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/fdisk/align-512-512-topology')
-rwxr-xr-xtests/ts/fdisk/align-512-512-topology2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/fdisk/align-512-512-topology b/tests/ts/fdisk/align-512-512-topology
index 9354e45c7..8cc300929 100755
--- a/tests/ts/fdisk/align-512-512-topology
+++ b/tests/ts/fdisk/align-512-512-topology
@@ -20,7 +20,7 @@
# I/O size (32KiB)
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="align 512/512 +topology"
. $TS_TOPDIR/functions.sh