summaryrefslogtreecommitdiffstats
path: root/tests/ts/colrm/rm2-2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/colrm/rm2-2')
-rwxr-xr-xtests/ts/colrm/rm2-22
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/colrm/rm2-2 b/tests/ts/colrm/rm2-2
index a8419cbad..d44e60e2d 100755
--- a/tests/ts/colrm/rm2-2
+++ b/tests/ts/colrm/rm2-2
@@ -15,7 +15,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="basic check"
. $TS_TOPDIR/functions.sh