-
Notifications
You must be signed in to change notification settings - Fork 440
Closed
Labels
Component: Bash CodeEverything regarding the bash codeEverything regarding the bash codePriority: CriticalBroken behavior in nearly all environments, e.g. wrong test results, internal bats errorBroken behavior in nearly all environments, e.g. wrong test results, internal bats errorStatus: DuplicateType: Bug
Milestone
Description
When I try to check against lines, I get weird behavior. It is picking up the names of all the files in the directory where the test script lives. If I echo out the output variable, it looks perfect. If I echo out the lines varible with a for loop, it prints the names of all the files in the directory
for item in ${lines[@]}
do
echo "$item" >&3
done
filename1.sh
filename2.sh
actual output1
actual output2
filname1.sh
filname2.sh
actual output2
Metadata
Metadata
Assignees
Labels
Component: Bash CodeEverything regarding the bash codeEverything regarding the bash codePriority: CriticalBroken behavior in nearly all environments, e.g. wrong test results, internal bats errorBroken behavior in nearly all environments, e.g. wrong test results, internal bats errorStatus: DuplicateType: Bug