[LU-15006] shell script error for check_filefrag_77n() Created: 14/Sep/21  Updated: 21/Sep/21  Resolved: 21/Sep/21

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

Type: Bug Priority: Critical
Reporter: James A Simmons Assignee: James A Simmons
Resolution: Not a Bug Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The test suite runs until 77m
 
after that the test crashes with: ./sanity.sh: line 9689: syntax error near unexpected token `<'

This is due to line 

       done < <( filefrag -sv $1 )



 Comments   
Comment by Andreas Dilger [ 14/Sep/21 ]

That happens if you run the script with "sh sanity.sh" (note sh instead of bash), or your sh is not actually bash. The script itself has:

#!/bin/bash

at the start since commit 0.0.0-1885-g0959449a99 in 2002-11-02, so ./sanity.sh should result in it being interpreted by bash...

Comment by James A Simmons [ 21/Sep/21 ]

Environment setup issue.

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