summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/oddinput
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/fdisk/oddinput')
-rwxr-xr-xtests/ts/fdisk/oddinput2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/fdisk/oddinput b/tests/ts/fdisk/oddinput
index 5b9bb3108..2120ce7c8 100755
--- a/tests/ts/fdisk/oddinput
+++ b/tests/ts/fdisk/oddinput
@@ -14,7 +14,7 @@
# GNU General Public License for more details.
#
-TS_TOPDIR="$(dirname $0)/../.."
+TS_TOPDIR="${0%/*}/../.."
TS_DESC="invalid input tests"
. $TS_TOPDIR/functions.sh