Whamcloud - gitweb
LU-11196 tests: clean up after conf-sanity test_101 68/33268/4
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 2 Oct 2018 20:27:09 +0000 (14:27 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Oct 2018 18:24:34 +0000 (18:24 +0000)
commited44caee9af0eeb32bce7e7de5f5146fa6dc1d00
tree85b29d0efbc450bfac3fcabb828cc73acbfbd885
parent5f4ca70b2aa45174907d3924b63bd953180674fe
LU-11196 tests: clean up after conf-sanity test_101

conf-sanity test_101() creates up to 50000 files in the top-level
test directory, which can sometimes cause the later test_103() setup
to fail, because "rm -rf" fails with "Argument list too long" when
trying to clean up the test directory.

Create the test_101 files in a subdirectory for cleanliness, and
remove them at the end of the test so that we don't run out of space.

Test-Parameters: trivial testlist=conf-sanity
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I1167339d03340e1cc545d2855c4b32eef18cab07
Reviewed-on: https://review.whamcloud.com/33268
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/conf-sanity.sh