summaryrefslogtreecommitdiffstats
path: root/tests/ts/minix/fsck
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/minix/fsck')
-rwxr-xr-xtests/ts/minix/fsck2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/minix/fsck b/tests/ts/minix/fsck
index f635fc1b4..2b290b0f8 100755
--- a/tests/ts/minix/fsck
+++ b/tests/ts/minix/fsck
@@ -14,7 +14,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="mkfs checksums"
. $TS_TOPDIR/functions.sh