summaryrefslogtreecommitdiffstats
path: root/tests/ts/mount/remount
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/mount/remount')
-rwxr-xr-xtests/ts/mount/remount2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/mount/remount b/tests/ts/mount/remount
index 051c595a8..c6c772f91 100755
--- a/tests/ts/mount/remount
+++ b/tests/ts/mount/remount
@@ -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="remount"
. $TS_TOPDIR/functions.sh