From: Erez Zadok Date: Thu, 29 Nov 2007 02:02:43 +0000 (-0500) Subject: Allow passing config file name to run-all-tests. X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=14b7ee4f3fac8698aeebfe6f184966a2d3ce775b;p=unionfs-regression.git Allow passing config file name to run-all-tests. --- diff --git a/run-all-tests b/run-all-tests index 0bd3aff..87fa78e 100755 --- a/run-all-tests +++ b/run-all-tests @@ -1,5 +1,8 @@ #!/bin/sh # run all unionfs regression tests +# +# Usage: ./run-all-tests [conf] +# e.g., ./run-all-tests odf # ensure that all binaries are properly built make || exit $? @@ -10,5 +13,5 @@ for fs in $LIST do echo "Running $fs tests..." sleep 1 - MYFS=$fs ./run-tests default || exit $? + MYFS=$fs ./run-tests ${1:-default} || exit $? done