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