From: Dennis Schafroth Date: Wed, 18 Apr 2012 09:01:44 +0000 (+0200) Subject: A way to have one master script and using links to instances of tests. But requires... X-Git-Tag: v1.6.13~43 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=957ba349817dee662f60ba89c6c99c7165363ff8;p=pazpar2-moved-to-github.git A way to have one master script and using links to instances of tests. But requires bash and links to work --- 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