Whamcloud - gitweb
LU-7667 tests: Write to unique files in $TMP 61/18261/4
authorJames Nunez <james.a.nunez@intel.com>
Tue, 2 Feb 2016 17:50:47 +0000 (10:50 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 21 May 2016 02:36:11 +0000 (02:36 +0000)
commitae215b1e6e59a21f19ae69a8d3319d2d73a25bbd
treea5ef3460761094bbd5c7dd74167607c9a5893eeb
parent6b929502063ac0fa8e75a3e09259e9b2b0d0ee6e
LU-7667 tests: Write to unique files in $TMP

sanity uses $TMP/files to store the output of 'lfs getstripe'
and does not clean up the $TMP directory. When conf-sanity tries
to create $TMP/files, it fails. These tests need to use a unique
file, $tfile, or directory, $tdir, name in $TMP and should
clean $TMP out before test exits.

Tests should use $TMP instead of /tmp. $TMP defaults to /tmp.

Remove sanity test 51d from the ALWAYS_EXCEPT list.

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I09a0a2be1d88c3f4a0042e3956bbc54f9df61f55
Reviewed-on: http://review.whamcloud.com/18261
Tested-by: Jenkins
Reviewed-by: Wei Liu <wei3.liu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Saurabh Tandan <saurabh.tandan@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/conf-sanity.sh
lustre/tests/sanity.sh