summaryrefslogtreecommitdiffstats
path: root/tests/ts/namei/logic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/namei/logic')
-rwxr-xr-xtests/ts/namei/logic2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/namei/logic b/tests/ts/namei/logic
index eda5d1b05..b216ee7cc 100755
--- a/tests/ts/namei/logic
+++ b/tests/ts/namei/logic
@@ -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="basic functionality"
. $TS_TOPDIR/functions.sh