summaryrefslogtreecommitdiffstats
path: root/tests/ts/mount/fstab-devname
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/mount/fstab-devname')
-rwxr-xr-xtests/ts/mount/fstab-devname2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/mount/fstab-devname b/tests/ts/mount/fstab-devname
index 9af8db648..9cf73e008 100755
--- a/tests/ts/mount/fstab-devname
+++ b/tests/ts/mount/fstab-devname
@@ -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_DESC="by devname (fstab)"
. $TS_TOPDIR/functions.sh