From: Patrick Farrell Date: Wed, 17 Jul 2019 19:59:02 +0000 (-0400) Subject: LU-12560 tests: Use full path for test-groups X-Git-Tag: 2.12.57~67 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=ca3c77b8424961e82db642c748e1078ae07e9d97;ds=sidebyside LU-12560 tests: Use full path for test-groups Acceptance-small doesn't use the full path when accessing the test-groups directory, so it will only run when executed from the directory containing test-groups. Correct it to use the full path, so it can be run from any directory. Signed-off-by: Patrick Farrell Change-Id: I788b2993e8b9a5e83e18940aae503fb21ade9cdc Reviewed-on: https://review.whamcloud.com/35541 Tested-by: jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Nunez --- diff --git a/lustre/tests/acceptance-small.sh b/lustre/tests/acceptance-small.sh index f6cb12f..72825bc 100755 --- a/lustre/tests/acceptance-small.sh +++ b/lustre/tests/acceptance-small.sh @@ -4,7 +4,7 @@ # if no tests are specified, they are taken from test-groups/regression # if {TEST_NAME}=no is set, that test script is skipped DEFAULT_SUITES="${@:-$ACC_SM_ONLY}" -DEFAULT_SUITES="${DEFAULT_SUITES:-$(cat test-groups/regression)}" +DEFAULT_SUITES="${DEFAULT_SUITES:-$(cat $LUSTRE/tests/test-groups/regression)}" for SUB in $DEFAULT_SUITES; do ENV=$(echo $SUB | tr "[:lower:]-" "[:upper:]_") [ "$(eval echo \$$ENV)" = "no" ] && continue