[LU-3687] several sanity tests are failed if run separately because of parent directory d0.sanity does not exist Created: 02/Aug/13  Updated: 02/Aug/13  Resolved: 02/Aug/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Elena Gryaznova Assignee: James Nunez (Inactive)
Resolution: Duplicate Votes: 0
Labels: patch

Issue Links:
Duplicate
duplicates LU-2524 Tests regressions: tests interrelatio... Closed
Severity: 3
Epic: test
Rank (Obsolete): 9521

 Description   

test_mkdir() creates parent directory only if called with -p option.
Several sanity tests are failed to create $tdir if run separately because of parent directory d0.sanity does not exist and test_mkdir () is called without -p option

# ONLY=6g sh sanity.sh
== sanity test 6g: Is new dir in sgid dir inheriting group? == 03:34:51 (1374046491)
 sanity test_6g: @@@@@@ FAIL: mkdir f.sanity.6g failed 


 Comments   
Comment by Elena Gryaznova [ 02/Aug/13 ]

http://review.whamcloud.com/7211
Patch adds test_mkdir() -p option to the tests which create $tdir.

Comment by Andreas Dilger [ 02/Aug/13 ]

Elena, there is a separate patch being worked on to instead change $tdir to be a single directory level. That avoids the need for -p everywhere, and also fixes this problem.

Generated at Sat Feb 10 01:36:03 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.