test-suite strange output

Has anyone ever seen this message in the test-suite output:

/bin/sh: 7: test: 0: unexpected operator

I'm getting a lot of them but otherwise it seems to be working just fine.

Turns out that in my latest upgrade to Ubuntu 12.x, it reassigned

/bin/sh -> /bin/dash and LLVM needs /bin/sh to be /bin/bash

Turns out that in my latest upgrade to Ubuntu 12.x, it reassigned

/bin/sh -> /bin/dash and LLVM needs /bin/sh to be /bin/bash

I would think that using bash specific features in a /bin/sh shell script is a bug. I remembering ferreting these sorts of problems out in the early days.

Does LLVM now consider it okay to assume that /bin/sh is bash, or is it still a bug? If it's a bug, I think you should file a bug report.

-- John T.

Turns out that in my latest upgrade to Ubuntu 12.x, it reassigned

/bin/sh -> /bin/dash and LLVM needs /bin/sh to be /bin/bash

I would think that using bash specific features in a /bin/sh shell script is a bug. I remembering ferreting these sorts of problems out in the early days.

Does LLVM now consider it okay to assume that /bin/sh is bash, or is it still a bug? If it's a bug, I think you should file a bug report.

We think we know the source of this dependency and will be submitting a patch for this problem so that bash is not required.