Whamcloud - gitweb
LU-14204 tests: make sure we have a single import
[fs/lustre-release.git] / lustre / tests / acceptance-small.sh
1 #!/bin/bash
2 #
3 # usage: acceptance-small.sh [test list]
4 #       if no tests are specified, they are taken from test-groups/regression
5 #       if {TEST_NAME}=no is set, that test script is skipped
6 DEFAULT_SUITES="${@:-$ACC_SM_ONLY}"
7 DEFAULT_SUITES="${DEFAULT_SUITES:-$(cat $LUSTRE/tests/test-groups/regression)}"
8 for SUB in $DEFAULT_SUITES; do
9         ENV=$(echo $SUB | tr "[:lower:]-" "[:upper:]_")
10         [ "$(eval echo \$$ENV)" = "no" ] && continue
11         SUITES="$SUITES $SUB"
12 done
13 sh auster -r -R -v -f ${NAME:-lustre} $SUITES