summaryrefslogtreecommitdiff
path: root/tests/misc/ptx-overrun
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/ptx-overrun')
-rwxr-xr-xtests/misc/ptx-overrun8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/ptx-overrun b/tests/misc/ptx-overrun
index 7cd5f8477..637c61d13 100755
--- a/tests/misc/ptx-overrun
+++ b/tests/misc/ptx-overrun
@@ -16,12 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- ptx --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && ptx --version
# Using a long file name makes an abort more likely.
# Even with no file name, valgrind detects the buffer overrun.