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