summaryrefslogtreecommitdiffstats
path: root/tests/ts/blkid/md-raid1-part
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/blkid/md-raid1-part')
-rwxr-xr-xtests/ts/blkid/md-raid1-part2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/blkid/md-raid1-part b/tests/ts/blkid/md-raid1-part
index 30900eae6..43140728c 100755
--- a/tests/ts/blkid/md-raid1-part
+++ b/tests/ts/blkid/md-raid1-part
@@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="MD raid1 (last partition)"
. $TS_TOPDIR/functions.sh