summaryrefslogtreecommitdiffstats
path: root/tests/ts/mount/rlimit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/mount/rlimit')
-rwxr-xr-xtests/ts/mount/rlimit2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/mount/rlimit b/tests/ts/mount/rlimit
index 7d7e42bbc..dc7a2c821 100755
--- a/tests/ts/mount/rlimit
+++ b/tests/ts/mount/rlimit
@@ -23,7 +23,7 @@
# calls are successful.
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="rlimit-fsize"
. $TS_TOPDIR/functions.sh