From 957ba349817dee662f60ba89c6c99c7165363ff8 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Wed, 18 Apr 2012 11:01:44 +0200 Subject: [PATCH] A way to have one master script and using links to instances of tests. But requires bash and links to work --- test/test_http.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_http.sh b/test/test_http.sh index 712d5c7..3413346 100755 --- a/test/test_http.sh +++ b/test/test_http.sh @@ -1,11 +1,13 @@ -#!/bin/sh +#!/bin/bash # +FILE=`basename $0` +TEST=${FILE/.sh/} # srcdir might be set by make srcdir=${srcdir:-"."} # Test using test_http.cfg -exec ${srcdir}/run_pazpar2.sh test_http +exec ${srcdir}/run_pazpar2.sh $TEST # Local Variables: # mode:shell-script -- 1.7.10.4