summaryrefslogtreecommitdiffstats
path: root/tests/ts/hexdump/format-strings
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/hexdump/format-strings')
-rwxr-xr-xtests/ts/hexdump/format-strings2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/hexdump/format-strings b/tests/ts/hexdump/format-strings
index 9b6745c7f..8716197cd 100755
--- a/tests/ts/hexdump/format-strings
+++ b/tests/ts/hexdump/format-strings
@@ -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="format-strings"
FILES="$TS_TOPDIR/ts/hexdump/files"
#sample input consists of hexdump-ed results of the following py3script: