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