[LU-6614] strip extra / from $DIR in sanity.sh Created: 18/May/15  Updated: 25/Sep/15  Resolved: 25/Sep/15

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

Type: Bug Priority: Minor
Reporter: Sergey Cheremencev Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: patch

Issue Links:
Duplicate
duplicates LU-7130 sanity.sh test 162 does not properly ... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

We hit that several tests fail when $DIR has extra "/".

== sanity test 226a: call path2fid and fid2path on files of all type == 06:27:59 (1394692079)
 sanity test_226a: @@@@@@ FAIL: fid2path returned /mnt/fs1/d0.sanity/d226/fifo, expected /mnt/fs1//d0.sanity/d226/fifo

== sanity test 162: path lookup sanity == 05:17:42 (1394687862)
fid 0x200001be7:0x59:0x0 resolves to path d0.sanity/d162/d2/f.sanity.162 (expected d0.sanity/d162/d2/f.sanity.162)
fid 0x200001be7:0x66:0x0 resolves to path d0.sanity/d162/d2/p/q/r/slink (expected d0.sanity/d162/d2/p/q/r/slink)
fid 0x200001be7:0x67:0x0 resolves to path d0.sanity/d162/d2/p/q/r/slink.wrong (expected d0.sanity/d162/d2/p/q/r/slink.wrong)
fid 0x200001be7:0x59:0x0 resolves to path d0.sanity/d162/d2/a/b/c/new_file (expected d0.sanity/d162/d2/a/b/c/new_file)
 sanity test_162: @@@@@@ FAIL: path looked up "/mnt/fs1/d0.sanity/d162/d2/p/q/r/hlink" instead of "/mnt/fs1//d0.sanity/d162/d2/p/q/r/hlink" 


 Comments   
Comment by Gerrit Updater [ 18/May/15 ]

Sergey Cheremencev (sergey_cheremencev@xyratex.com) uploaded a new patch: http://review.whamcloud.com/14849
Subject: LU-6614 tests: handle $DIR extra slashes in sanity
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ddfea4d76534717fa0d5883a926555cb3caa052a

Comment by Sergey Cheremencev [ 25/Sep/15 ]

It is a dup of LU-7130. We can close it.

Comment by Peter Jones [ 25/Sep/15 ]

ok

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