summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/bsd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/fdisk/bsd')
-rwxr-xr-xtests/ts/fdisk/bsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/fdisk/bsd b/tests/ts/fdisk/bsd
index 288388d8e..23ac0537e 100755
--- a/tests/ts/fdisk/bsd
+++ b/tests/ts/fdisk/bsd
@@ -16,7 +16,7 @@
#
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="nested BSD"
. $TS_TOPDIR/functions.sh