ctf-writer: Split clock and clock-class declarations and definitions
[deliverable/babeltrace.git] / tests / plugins / test_bin_info_complete.in
index 09ab708e965095b00b8c2ebfd2dae70c4d9f6077..434a0c352c0cb907691fdc40a30d93c844031f4a 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Copyright (C) 2015 - Antoine Busque <abusque@efficios.com>
 #
@@ -20,8 +20,7 @@
 NO_SH_TAP=1
 . "@abs_top_builddir@/tests/utils/common.sh"
 
-script="$(readlink -f "$0")"
-curdir="$(dirname "$script")"
+curdir="$(cd -P "$(dirname "$0")" >/dev/null && pwd)"
 
 debug_info_data="${BT_SRC_PATH}/tests/debug-info-data"
 
This page took 0.023978 seconds and 5 git commands to generate.