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