summaryrefslogtreecommitdiffstats
path: root/tests/ts/dmesg/delta
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/dmesg/delta')
-rwxr-xr-xtests/ts/dmesg/delta2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/dmesg/delta b/tests/ts/dmesg/delta
index 774ffb12f..2ad247746 100755
--- a/tests/ts/dmesg/delta
+++ b/tests/ts/dmesg/delta
@@ -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="delta"
. $TS_TOPDIR/functions.sh