summaryrefslogtreecommitdiffstats
path: root/tests/ts/misc/ionice
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/misc/ionice')
-rwxr-xr-xtests/ts/misc/ionice2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/misc/ionice b/tests/ts/misc/ionice
index d0cca8e8f..29f4d6164 100755
--- a/tests/ts/misc/ionice
+++ b/tests/ts/misc/ionice
@@ -12,7 +12,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="ionice"
. $TS_TOPDIR/functions.sh