Allow passing config file name to run-all-tests.
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 29 Nov 2007 02:02:43 +0000 (21:02 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Thu, 29 Nov 2007 02:02:43 +0000 (21:02 -0500)
run-all-tests

index 0bd3affbff89b25656c0163e65fac852f6dbe2af..87fa78eee7d25e9ee3006b211797544b1e21686c 100755 (executable)
@@ -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