[LU-2711] Code execution between test declarations in suite scripts Created: 30/Jan/13 Updated: 29/Jan/22 Resolved: 29/Jan/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.12.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Kyr Shatskyy (Inactive) | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch, tests | ||
| Severity: | 3 |
| Rank (Obsolete): | 6604 |
| Description |
|
There is present a code execution between test declarations in suite scripts. export ORIG_CSUM_TYPE="`lctl get_param -n osc.*osc-[^mM]*.checksum_type |
sed 's/.*\[\(.*\)\].*/\1/g' | head -n1`"
CKSUM_TYPES=${CKSUM_TYPES:-"crc32 adler"}
[ "$ORIG_CSUM_TYPE" = "crc32c" ] && CKSUM_TYPES="$CKSUM_TYPES crc32c"
Or this in sanityn.sh : } run_test 39b "mtime change on open, link, unlink, rename ======" # this should be set to past TEST_39_MTIME=`date -d "1 year ago" +%s` # bug 11063 test_39c() { From one side these codes are executed all the time even if do not want to run it using ONLY parameter for some specific tests. From other side such practice causes generation of unexpected messages in the log files. This practice is harmfull we need to get rid of it. |
| Comments |
| Comment by Andreas Dilger [ 05/Feb/13 ] |
| Comment by Cliff White (Inactive) [ 11/Jul/14 ] |
|
The patch has failing in testing,is it possible for you to update it? |
| Comment by Kyr Shatskyy (Inactive) [ 21/Oct/15 ] |
|
New patch 27 uploaded after rebase |
| Comment by Gerrit Updater [ 03/Jan/18 ] |
|
James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/30703 |
| Comment by Gerrit Updater [ 02/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30703/ |