http://llvm.org/bugs/show_bug.cgi?id=2979
Summary: lua assumes bash shell
Product: Test Suite
Version: trunk
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Programs Tests
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
The lua test's generate_inputs.sh contains some bashisms
(in spite of starting #!/bin/sh) which cause it to fail
here:
declare -i count=$2
^ declare is a bashism (sh error: "declare: not found")
output=${1/.txt/${3}.txt}
^ sh error: "bad substitution"
let count=$((count - 50))
^ I don't think sh allows this construction.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs